(window.webpackJsonp=window.webpackJsonp||[]).push([[61],{1861:function(t,e,r){t.exports=function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s="fb15")}({"00b4":function(t,e,r){"use strict";r("ac1f");var n,o,i=r("23e7"),a=r("c65b"),c=r("1626"),s=r("825a"),u=r("577e"),f=(n=!1,(o=/[ac]/).exec=function(){return n=!0,/./.exec.apply(this,arguments)},!0===o.test("abc")&&n),l=/./.test;i({target:"RegExp",proto:!0,forced:!f},{test:function(t){var e=s(this),r=u(t),n=e.exec;if(!c(n))return a(l,e,r);var o=a(n,e,r);return null!==o&&(s(o),!0)}})},"00ee":function(t,e,r){"use strict";var n={};n[r("b622")("toStringTag")]="z",t.exports="[object z]"===String(n)},"01b4":function(t,e,r){"use strict";var n=function(){this.head=null,this.tail=null};n.prototype={add:function(t){var e={item:t,next:null},r=this.tail;r?r.next=e:this.head=e,this.tail=e},get:function(){var t=this.head;if(t)return null===(this.head=t.next)&&(this.tail=null),t.item}},t.exports=n},"0366":function(t,e,r){"use strict";var n=r("4625"),o=r("59ed"),i=r("40d5"),a=n(n.bind);t.exports=function(t,e){return o(t),void 0===e?t:i?a(t,e):function(){return t.apply(e,arguments)}}},"04f8":function(t,e,r){"use strict";var n=r("2d00"),o=r("d039"),i=r("da84").String;t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol("symbol detection");return!i(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},"0538":function(t,e,r){"use strict";var n=r("e330"),o=r("59ed"),i=r("861d"),a=r("1a2d"),c=r("f36a"),s=r("40d5"),u=Function,f=n([].concat),l=n([].join),d={},p=function(t,e,r){if(!a(d,e)){for(var n=[],o=0;o=r&&parseInt(n[r],10)}function g(t,e){b&&console.warn(t+" is deprecated, please use "+e+" instead.")}function w(t){var e={browser:null,version:null};if(void 0===t||!t.navigator)return e.browser="Not a browser.",e;var r=t.navigator;if(r.mozGetUserMedia)e.browser="firefox",e.version=y(r.userAgent,/Firefox\/(\d+)\./,1);else if(r.webkitGetUserMedia||!1===t.isSecureContext&&t.webkitRTCPeerConnection&&!t.RTCIceGatherer)e.browser="chrome",e.version=y(r.userAgent,/Chrom(e|ium)\/(\d+)\./,2);else if(r.mediaDevices&&r.userAgent.match(/Edge\/(\d+).(\d+)$/))e.browser="edge",e.version=y(r.userAgent,/Edge\/(\d+).(\d+)$/,2);else{if(!t.RTCPeerConnection||!r.userAgent.match(/AppleWebKit\/(\d+)\./))return e.browser="Not a supported browser.",e;e.browser="safari",e.version=y(r.userAgent,/AppleWebKit\/(\d+)\./,1),e.supportsUnifiedPlan=t.RTCRtpTransceiver&&"currentDirection"in t.RTCRtpTransceiver.prototype}return e}function x(t){return"[object Object]"===Object.prototype.toString.call(t)}function O(t){return x(t)?Object.keys(t).reduce((function(e,r){var n=x(t[r]),i=n?O(t[r]):t[r],a=n&&!Object.keys(i).length;return void 0===i||a?e:Object.assign(e,o({},r,i))}),{}):t}var E=function(){if("object"===("undefined"==typeof window?"undefined":Object(v.a)(window))){if(m)return;"undefined"!=typeof console&&"function"==typeof console.log&&console.log.apply(console,arguments)}};r("a434");function S(t){var e=t&&t.navigator;if(e.mediaDevices&&e.mediaDevices.getUserMedia){var r=e.mediaDevices,n=r.getUserMedia.bind(r);e.mediaDevices.getUserMedia=function(t){return n(function(t){if(t&&void 0!==t.video)return Object.assign({},t,{video:O(t.video)});return t}(t))}}!e.getUserMedia&&e.mediaDevices&&e.mediaDevices.getUserMedia&&(e.getUserMedia=function(t,r,n){e.mediaDevices.getUserMedia(t).then(r,n)}.bind(e))}var j,C,P,T=(j=function(){switch(w(window).browser){case"chrome":!function(t){var e=t&&t.navigator;if(e.mediaDevices){var r=w(t),n=function(t){if("object"!==Object(v.a)(t)||t.mandatory||t.optional)return t;var e={};return Object.keys(t).forEach((function(r){if("require"!==r&&"advanced"!==r&&"mediaSource"!==r){var n="object"===Object(v.a)(t[r])?t[r]:{ideal:t[r]};void 0!==n.exact&&"number"==typeof n.exact&&(n.min=n.max=n.exact);var o=function(t,e){return t?t+e.charAt(0).toUpperCase()+e.slice(1):"deviceId"===e?"sourceId":e};if(void 0!==n.ideal){e.optional=e.optional||[];var i={};"number"==typeof n.ideal?(i[o("min",r)]=n.ideal,e.optional.push(i),(i={})[o("max",r)]=n.ideal,e.optional.push(i)):(i[o("",r)]=n.ideal,e.optional.push(i))}void 0!==n.exact&&"number"!=typeof n.exact?(e.mandatory=e.mandatory||{},e.mandatory[o("",r)]=n.exact):["min","max"].forEach((function(t){void 0!==n[t]&&(e.mandatory=e.mandatory||{},e.mandatory[o(t,r)]=n[t])}))}})),t.advanced&&(e.optional=(e.optional||[]).concat(t.advanced)),e},o=function(t,o){if(r.version>=61)return o(t);if((t=JSON.parse(JSON.stringify(t)))&&"object"===Object(v.a)(t.audio)){var i=function(t,e,r){e in t&&!(r in t)&&(t[r]=t[e],delete t[e])};i((t=JSON.parse(JSON.stringify(t))).audio,"autoGainControl","googAutoGainControl"),i(t.audio,"noiseSuppression","googNoiseSuppression"),t.audio=n(t.audio)}if(t&&"object"===Object(v.a)(t.video)){var a=t.video.facingMode;a=a&&("object"===Object(v.a)(a)?a:{ideal:a});var c,s=r.version<66;if(a&&("user"===a.exact||"environment"===a.exact||"user"===a.ideal||"environment"===a.ideal)&&(!e.mediaDevices.getSupportedConstraints||!e.mediaDevices.getSupportedConstraints().facingMode||s)&&(delete t.video.facingMode,"environment"===a.exact||"environment"===a.ideal?c=["back","rear"]:"user"!==a.exact&&"user"!==a.ideal||(c=["front"]),c))return e.mediaDevices.enumerateDevices().then((function(e){var r=(e=e.filter((function(t){return"videoinput"===t.kind}))).find((function(t){return c.some((function(e){return t.label.toLowerCase().includes(e)}))}));return!r&&e.length&&c.includes("back")&&(r=e[e.length-1]),r&&(t.video.deviceId=a.exact?{exact:r.deviceId}:{ideal:r.deviceId}),t.video=n(t.video),E("chrome: "+JSON.stringify(t)),o(t)}));t.video=n(t.video)}return E("chrome: "+JSON.stringify(t)),o(t)},i=function(t){return r.version>=64?t:{name:{PermissionDeniedError:"NotAllowedError",PermissionDismissedError:"NotAllowedError",InvalidStateError:"NotAllowedError",DevicesNotFoundError:"NotFoundError",ConstraintNotSatisfiedError:"OverconstrainedError",TrackStartError:"NotReadableError",MediaDeviceFailedDueToShutdown:"NotAllowedError",MediaDeviceKillSwitchOn:"NotAllowedError",TabCaptureError:"AbortError",ScreenCaptureError:"AbortError",DeviceCaptureError:"AbortError"}[t.name]||t.name,message:t.message,constraint:t.constraint||t.constraintName,toString:function(){return this.name+(this.message&&": ")+this.message}}};if(e.getUserMedia=function(t,r,n){o(t,(function(t){e.webkitGetUserMedia(t,r,(function(t){n&&n(i(t))}))}))}.bind(e),e.mediaDevices.getUserMedia){var a=e.mediaDevices.getUserMedia.bind(e.mediaDevices);e.mediaDevices.getUserMedia=function(t){return o(t,(function(t){return a(t).then((function(e){if(t.audio&&!e.getAudioTracks().length||t.video&&!e.getVideoTracks().length)throw e.getTracks().forEach((function(t){t.stop()})),new DOMException("","NotFoundError");return e}),(function(t){return Promise.reject(i(t))}))}))}}}}(window);break;case"firefox":!function(t){var e=w(t),r=t&&t.navigator,n=t&&t.MediaStreamTrack;if(r.getUserMedia=function(t,e,n){g("navigator.getUserMedia","navigator.mediaDevices.getUserMedia"),r.mediaDevices.getUserMedia(t).then(e,n)},!(e.version>55&&"autoGainControl"in r.mediaDevices.getSupportedConstraints())){var o=function(t,e,r){e in t&&!(r in t)&&(t[r]=t[e],delete t[e])},i=r.mediaDevices.getUserMedia.bind(r.mediaDevices);if(r.mediaDevices.getUserMedia=function(t){return"object"===Object(v.a)(t)&&"object"===Object(v.a)(t.audio)&&(t=JSON.parse(JSON.stringify(t)),o(t.audio,"autoGainControl","mozAutoGainControl"),o(t.audio,"noiseSuppression","mozNoiseSuppression")),i(t)},n&&n.prototype.getSettings){var a=n.prototype.getSettings;n.prototype.getSettings=function(){var t=a.apply(this,arguments);return o(t,"mozAutoGainControl","autoGainControl"),o(t,"mozNoiseSuppression","noiseSuppression"),t}}if(n&&n.prototype.applyConstraints){var c=n.prototype.applyConstraints;n.prototype.applyConstraints=function(t){return"audio"===this.kind&&"object"===Object(v.a)(t)&&(t=JSON.parse(JSON.stringify(t)),o(t,"autoGainControl","mozAutoGainControl"),o(t,"noiseSuppression","mozNoiseSuppression")),c.apply(this,[t])}}}}(window);break;case"edge":!function(t){var e=t&&t.navigator,r=e.mediaDevices.getUserMedia.bind(e.mediaDevices);e.mediaDevices.getUserMedia=function(t){return r(t).catch((function(t){return Promise.reject(function(t){return{name:{PermissionDeniedError:"NotAllowedError"}[t.name]||t.name,message:t.message,constraint:t.constraint,toString:function(){return this.name}}}(t))}))}}(window);break;case"safari":S(window);break;default:throw new p.c}},C=!1,P=void 0,function(){return C||(P=j.apply(void 0,arguments),C=!0),P}),_=function(){return Object(d.a)((function t(e,r){Object(l.a)(this,t),this.videoEl=e,this.stream=r}),[{key:"stop",value:function(){var t=this;this.videoEl.srcObject=null,this.stream.getTracks().forEach((function(e){t.stream.removeTrack(e),e.stop()}))}},{key:"getCapabilities",value:function(){var t,e,r=this.stream.getVideoTracks(),n=Object(f.a)(r,1)[0];return null!==(t=null==n||null===(e=n.getCapabilities)||void 0===e?void 0:e.call(n))&&void 0!==t?t:{}}}])}(),R=function(){var t=Object(s.a)(Object(c.a)().mark((function t(e){var r,n,o,i;return Object(c.a)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=["OBS Virtual Camera","OBS-Camera","Desk View Camera","Schreibtischansicht-Kamera","Caméra Desk View","Fotocamera di Panoramica Scrivania","Rückseitige Ultra-Weitwinkelkamera","Rückseitige Telefotokamera","Rückseitige Dual-Weitwinkelkamera","Rückseitige Triple-Kamera","Back Dual Wide Camera","Back Triple Camera","Back Ultra Wide Camera","Zadní ultra širokoúhlý fotoaparát","Stolní kamera"],t.next=3,navigator.mediaDevices.enumerateDevices();case 3:if(!((n=t.sent.filter((function(t){return"videoinput"===t.kind})).filter((function(t){var e=t.label;return!r.includes(e)})).filter((function(t){return!t.label.includes("infrared")}))).length>2)){t.next=16;break}o=n[0],i=n[n.length-1],t.t0=e,t.next="auto"===t.t0?10:"rear"===t.t0?11:"front"===t.t0?12:13;break;case 10:case 11:return t.abrupt("return",{deviceId:{exact:i.deviceId}});case 12:return t.abrupt("return",{deviceId:{exact:o.deviceId}});case 13:return t.abrupt("return",void 0);case 14:t.next=23;break;case 16:t.t1=e,t.next="auto"===t.t1?19:"rear"===t.t1?20:"front"===t.t1?21:22;break;case 19:return t.abrupt("return",{facingMode:{ideal:"environment"}});case 20:return t.abrupt("return",{facingMode:{exact:"environment"}});case 21:return t.abrupt("return",{facingMode:{exact:"user"}});case 22:return t.abrupt("return",void 0);case 23:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),A=function(t,e){return $.apply(this,arguments)};function $(){return($=Object(s.a)(Object(c.a)().mark((function t(e,r){var n,o,i,s,u,l,d,v;return Object(c.a)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(o=r.camera,i=r.torch,!0===window.isSecureContext){t.next=3;break}throw new p.b;case 3:if(void 0!==(null===(n=navigator)||void 0===n||null===(n=n.mediaDevices)||void 0===n?void 0:n.getUserMedia)){t.next=5;break}throw new p.c;case 5:return t.next=7,T();case 7:return t.t0=a,t.t1={width:{min:360,ideal:640,max:1920},height:{min:240,ideal:480,max:1080}},t.next=11,R(o);case 11:return t.t2=t.sent,t.t3=(0,t.t0)(t.t1,t.t2),s={audio:!1,video:t.t3},t.next=16,navigator.mediaDevices.getUserMedia(s);case 16:return u=t.sent,void 0!==e.srcObject?e.srcObject=u:void 0!==e.mozSrcObject?e.mozSrcObject=u:window.URL.createObjectURL?e.src=window.URL.createObjectURL(u):window.webkitURL?e.src=window.webkitURL.createObjectURL(u):e.src=u,t.next=20,Object(h.a)(e,"loadeddata");case 20:return t.next=22,Object(h.b)(500);case 22:return i&&(l=u.getVideoTracks(),d=Object(f.a)(l,1),v=d[0],v.getCapabilities().torch?v.applyConstraints({advanced:[{torch:!0}]}):console.warn("device does not support torch capability")),t.abrupt("return",new _(e,u));case 24:case"end":return t.stop()}}),t)})))).apply(this,arguments)}var k={name:"qrcode-stream",mixins:[r("b3af").a],props:{camera:{type:String,default:"auto",validator:function(t){return["auto","rear","front","off"].includes(t)}},torch:{type:Boolean,default:!1},track:{type:Function},formats:{type:Array,default:function(){return["qr_code"]}}},data:function(){return{cameraInstance:null,destroyed:!1}},computed:{shouldStream:function(){return!1===this.destroyed&&"off"!==this.camera},shouldScan:function(){return!0===this.shouldStream&&null!==this.cameraInstance},scanInterval:function(){return void 0===this.track?500:40}},watch:{shouldStream:function(t){if(!t){var e=this.$refs.pauseFrame,r=e.getContext("2d"),n=this.$refs.video;e.width=n.videoWidth,e.height=n.videoHeight,r.drawImage(n,0,0,n.videoWidth,n.videoHeight)}},shouldScan:function(t){t&&(this.clearCanvas(this.$refs.pauseFrame),this.clearCanvas(this.$refs.trackingLayer),this.startScanning())},torch:function(){this.init()},camera:function(){this.init()}},mounted:function(){this.init()},beforeDestroy:function(){this.beforeResetCamera(),this.destroyed=!0},methods:{init:function(){var t=this,e=Object(s.a)(Object(c.a)().mark((function e(){var r;return Object(c.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.beforeResetCamera(),"off"!==t.camera){e.next=6;break}return t.cameraInstance=null,e.abrupt("return",{capabilities:{}});case 6:return e.next=8,A(t.$refs.video,{camera:t.camera,torch:t.torch});case 8:return t.cameraInstance=e.sent,r=t.cameraInstance.getCapabilities(),t.destroyed&&t.cameraInstance.stop(),e.abrupt("return",{capabilities:r});case 12:case"end":return e.stop()}}),e)})))();this.$emit("init",e)},startScanning:function(){var t=this;Object(u.a)(this.$refs.video,{detectHandler:function(e){t.onDetect(Promise.resolve(e))},locateHandler:this.onLocate,minDelay:this.scanInterval,formats:this.formats})},beforeResetCamera:function(){null!==this.cameraInstance&&(this.cameraInstance.stop(),this.cameraInstance=null)},onLocate:function(t){var e=this.$refs.trackingLayer,r=this.$refs.video;if(void 0!==e)if(t.length>0&&void 0!==this.track&&void 0!==r){var n=r.offsetWidth,o=r.offsetHeight,i=r.videoWidth,c=r.videoHeight,s=Math.max(n/i,o/c),u=i*s,f=c*s,l=u/i,d=f/c,p=(n-u)/2,h=(o-f)/2,v=function(t){var e=t.x,r=t.y;return{x:Math.floor(e*l),y:Math.floor(r*d)}},m=function(t){var e=t.x,r=t.y;return{x:Math.floor(e+p),y:Math.floor(r+h)}},b=t.map((function(t){var e=t.boundingBox,r=t.cornerPoints,n=m(v({x:e.x,y:e.y})),o=n.x,i=n.y,c=v({x:e.width,y:e.height}),s=c.x,u=c.y;return a(a({},t),{},{cornerPoints:r.map((function(t){return m(v(t))})),boundingBox:DOMRectReadOnly.fromRect({x:o,y:i,width:s,height:u})})}));e.width=r.offsetWidth,e.height=r.offsetHeight;var y=e.getContext("2d");this.track(b,y)}else this.clearCanvas(e)},repaintTrackingLayer:function(t,e,r){var n=this,o=e.getContext("2d");window.requestAnimationFrame((function(){e.width=displayWidth,e.height=displayHeight,n.trackRepaintFunction(coordinatesAdjusted,o)}))},clearCanvas:function(t){t.getContext("2d").clearRect(0,0,t.width,t.height)}}},D=(r("e848"),r("2877")),I=Object(D.a)(k,(function(){var t=this._self._c;return t("div",{staticClass:"qrcode-stream-wrapper"},[t("video",{ref:"video",staticClass:"qrcode-stream-camera",class:{"qrcode-stream-camera--hidden":!this.shouldScan},attrs:{autoplay:"",muted:"",playsinline:""},domProps:{muted:!0}}),t("canvas",{directives:[{name:"show",rawName:"v-show",value:!this.shouldScan,expression:"!shouldScan"}],ref:"pauseFrame",staticClass:"qrcode-stream-camera"}),t("canvas",{ref:"trackingLayer",staticClass:"qrcode-stream-overlay"}),t("div",{staticClass:"qrcode-stream-overlay"},[this._t("default")],2)])}),[],!1,null,"0ee88866",null);e.a=I.exports},"0d26":function(t,e,r){"use strict";var n=r("e330"),o=Error,i=n("".replace),a=String(new o("zxcasd").stack),c=/\n\s*at [^:]*:[^\n]*/,s=c.test(a);t.exports=function(t,e){if(s&&"string"==typeof t&&!o.prepareStackTrace)for(;e--;)t=i(t,c,"");return t}},"0d51":function(t,e,r){"use strict";var n=String;t.exports=function(t){try{return n(t)}catch(t){return"Object"}}},"0eb6":function(t,e,r){"use strict";var n=r("23e7"),o=r("7c37"),i=r("d066"),a=r("d039"),c=r("7c73"),s=r("5c6c"),u=r("9bf2").f,f=r("cb2d"),l=r("edd0"),d=r("1a2d"),p=r("19aa"),h=r("825a"),v=r("aa1f"),m=r("e391"),b=r("cf98"),y=r("0d26"),g=r("69f3"),w=r("83ab"),x=r("c430"),O=i("Error"),E=i("DOMException")||function(){try{(new(i("MessageChannel")||o("worker_threads").MessageChannel)).port1.postMessage(new WeakMap)}catch(t){if("DATA_CLONE_ERR"===t.name&&25===t.code)return t.constructor}}(),S=E&&E.prototype,j=O.prototype,C=g.set,P=g.getterFor("DOMException"),T="stack"in new O("DOMException"),_=function(t){return d(b,t)&&b[t].m?b[t].c:0},R=function(){p(this,A);var t=arguments.length,e=m(t<1?void 0:arguments[0]),r=m(t<2?void 0:arguments[1],"Error"),n=_(r);if(C(this,{type:"DOMException",name:r,message:e,code:n}),w||(this.name=r,this.message=e,this.code=n),T){var o=new O(e);o.name="DOMException",u(this,"stack",s(1,y(o.stack,1)))}},A=R.prototype=c(j),$=function(t){return{enumerable:!0,configurable:!0,get:t}},k=function(t){return $((function(){return P(this)[t]}))};w&&(l(A,"code",k("code")),l(A,"message",k("message")),l(A,"name",k("name"))),u(A,"constructor",s(1,R));var D=a((function(){return!(new E instanceof O)})),I=D||a((function(){return j.toString!==v||"2: 1"!==String(new E(1,2))})),M=D||a((function(){return 25!==new E(1,"DataCloneError").code})),L=D||25!==E.DATA_CLONE_ERR||25!==S.DATA_CLONE_ERR,U=x?I||M||L:D;n({global:!0,constructor:!0,forced:U},{DOMException:U?R:E});var F=i("DOMException"),N=F.prototype;for(var B in I&&(x||E===F)&&f(N,"toString",v),M&&w&&E===F&&l(N,"code",$((function(){return _(h(this).name)}))),b)if(d(b,B)){var W=b[B],H=W.s,z=s(6,W.c);d(F,H)||u(F,H,z),d(N,H)||u(N,H,z)}},"107c":function(t,e,r){"use strict";var n=r("d039"),o=r("da84").RegExp;t.exports=n((function(){var t=o("(?b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$c")}))},"131a":function(t,e,r){"use strict";r("23e7")({target:"Object",stat:!0},{setPrototypeOf:r("d2bb")})},"13d2":function(t,e,r){"use strict";var n=r("e330"),o=r("d039"),i=r("1626"),a=r("1a2d"),c=r("83ab"),s=r("5e77").CONFIGURABLE,u=r("8925"),f=r("69f3"),l=f.enforce,d=f.get,p=String,h=Object.defineProperty,v=n("".slice),m=n("".replace),b=n([].join),y=c&&!o((function(){return 8!==h((function(){}),"length",{value:8}).length})),g=String(String).split("String"),w=t.exports=function(t,e,r){"Symbol("===v(p(e),0,7)&&(e="["+m(p(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!a(t,"name")||s&&t.name!==e)&&(c?h(t,"name",{value:e,configurable:!0}):t.name=e),y&&r&&a(r,"arity")&&t.length!==r.arity&&h(t,"length",{value:r.arity});try{r&&a(r,"constructor")&&r.constructor?c&&h(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var n=l(t);return a(n,"source")||(n.source=b(g,"string"==typeof e?e:"")),t};Function.prototype.toString=w((function(){return i(this)&&d(this).source||u(this)}),"toString")},"13d5":function(t,e,r){"use strict";var n=r("23e7"),o=r("d58f").left,i=r("a640"),a=r("2d00");n({target:"Array",proto:!0,forced:!r("605d")&&a>79&&a<83||!i("reduce")},{reduce:function(t){var e=arguments.length;return o(this,t,e,e>1?arguments[1]:void 0)}})},"14c3":function(t,e,r){"use strict";var n=r("c65b"),o=r("825a"),i=r("1626"),a=r("c6b6"),c=r("9263"),s=TypeError;t.exports=function(t,e){var r=t.exec;if(i(r)){var u=n(r,t,e);return null!==u&&o(u),u}if("RegExp"===a(t))return n(c,t,e);throw new s("RegExp#exec called on incompatible receiver")}},"14d9":function(t,e,r){"use strict";var n=r("23e7"),o=r("7b0b"),i=r("07fa"),a=r("3a34"),c=r("3511");n({target:"Array",proto:!0,arity:1,forced:r("d039")((function(){return 4294967297!==[].push.call({length:4294967296},1)}))||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}}()},{push:function(t){var e=o(this),r=i(e),n=arguments.length;c(r+n);for(var s=0;s1?arguments[1]:void 0)}},"19aa":function(t,e,r){"use strict";var n=r("3a9b"),o=TypeError;t.exports=function(t,e){if(n(e,t))return t;throw new o("Incorrect invocation")}},"1a2d":function(t,e,r){"use strict";var n=r("e330"),o=r("7b0b"),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(o(t),e)}},"1be4":function(t,e,r){"use strict";var n=r("d066");t.exports=n("document","documentElement")},"1c7e":function(t,e,r){"use strict";var n=r("b622")("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[n]=function(){return this},Array.from(a,(function(){throw 2}))}catch(t){}t.exports=function(t,e){try{if(!e&&!o)return!1}catch(t){return!1}var r=!1;try{var i={};i[n]=function(){return{next:function(){return{done:r=!0}}}},t(i)}catch(t){}return r}},"1cc0":function(t,e,r){"use strict";r.d(e,"a",(function(){return h})),r.d(e,"c",(function(){return v})),r.d(e,"b",(function(){return m}));var n=r("bee2"),o=r("d4ec");r("4ae1"),r("3410"),r("1f68"),r("131a");function i(t){return(i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function a(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(a=function(){return!!t})()}r("d9e2");var c=r("53ca");function s(t,e){if(e&&("object"===Object(c.a)(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function u(t,e,r){return e=i(e),s(t,a()?Reflect.construct(e,r||[],i(t).constructor):e.apply(t,r))}function f(t,e){return(f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&f(t,e)}r("e260"),r("4ec9"),r("d3b7"),r("3ca3"),r("ddb0"),r("25f0");r("14d9");function d(t,e,r){if(a())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,e);var o=new(t.bind.apply(t,n));return r&&f(o,r.prototype),o}function p(t){var e="function"==typeof Map?new Map:void 0;return(p=function(t){if(null===t||!function(t){try{return-1!==Function.toString.call(t).indexOf("[native code]")}catch(e){return"function"==typeof t}}(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,r)}function r(){return d(t,arguments,i(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),f(r,t)})(t)}r("b0c0");var h=function(t){function e(){var t;return Object(o.a)(this,e),(t=u(this,e,["can't process cross-origin image"])).name="DropImageFetchError",t}return l(e,t),Object(n.a)(e)}(p(Error)),v=function(t){function e(){var t;return Object(o.a)(this,e),(t=u(this,e,["this browser has no Stream API support"])).name="StreamApiNotSupportedError",t}return l(e,t),Object(n.a)(e)}(p(Error)),m=function(t){function e(){var t;return Object(o.a)(this,e),(t=u(this,e,["camera access is only permitted in secure context. Use HTTPS or localhost rather than HTTP."])).name="InsecureContextError",t}return l(e,t),Object(n.a)(e)}(p(Error))},"1cdc":function(t,e,r){"use strict";var n=r("342f");t.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},"1d80":function(t,e,r){"use strict";var n=r("7234"),o=TypeError;t.exports=function(t){if(n(t))throw new o("Can't call method on "+t);return t}},"1da1":function(t,e,r){"use strict";r.d(e,"a",(function(){return o}));r("d3b7"),r("e6cf");function n(t,e,r,n,o,i,a){try{var c=t[i](a),s=c.value}catch(t){return void r(t)}c.done?e(s):Promise.resolve(s).then(n,o)}function o(t){return function(){var e=this,r=arguments;return new Promise((function(o,i){var a=t.apply(e,r);function c(t){n(a,o,i,c,s,"next",t)}function s(t){n(a,o,i,c,s,"throw",t)}c(void 0)}))}}},"1dde":function(t,e,r){"use strict";var n=r("d039"),o=r("b622"),i=r("2d00"),a=o("species");t.exports=function(t){return i>=51||!n((function(){var e=[];return(e.constructor={})[a]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},"1f68":function(t,e,r){"use strict";var n=r("83ab"),o=r("edd0"),i=r("861d"),a=r("1787"),c=r("7b0b"),s=r("1d80"),u=Object.getPrototypeOf,f=Object.setPrototypeOf,l=Object.prototype;if(n&&u&&f&&!("__proto__"in l))try{o(l,"__proto__",{configurable:!0,get:function(){return u(c(this))},set:function(t){var e=s(this);a(t)&&i(e)&&f(e,t)}})}catch(t){}},2266:function(t,e,r){"use strict";var n=r("0366"),o=r("c65b"),i=r("825a"),a=r("0d51"),c=r("e95a"),s=r("07fa"),u=r("3a9b"),f=r("9a1f"),l=r("35a1"),d=r("2a62"),p=TypeError,h=function(t,e){this.stopped=t,this.result=e},v=h.prototype;t.exports=function(t,e,r){var m,b,y,g,w,x,O,E=r&&r.that,S=!(!r||!r.AS_ENTRIES),j=!(!r||!r.IS_RECORD),C=!(!r||!r.IS_ITERATOR),P=!(!r||!r.INTERRUPTED),T=n(e,E),_=function(t){return m&&d(m,"normal",t),new h(!0,t)},R=function(t){return S?(i(t),P?T(t[0],t[1],_):T(t[0],t[1])):P?T(t,_):T(t)};if(j)m=t.iterator;else if(C)m=t;else{if(!(b=l(t)))throw new p(a(t)+" is not iterable");if(c(b)){for(y=0,g=s(t);g>y;y++)if((w=R(t[y]))&&u(v,w))return w;return new h(!1)}m=f(t,b)}for(x=j?t.next:m.next;!(O=o(x,m)).done;){try{w=R(O.value)}catch(t){d(m,"throw",t)}if("object"==typeof w&&w&&u(v,w))return w}return new h(!1)}},"23cb":function(t,e,r){"use strict";var n=r("5926"),o=Math.max,i=Math.min;t.exports=function(t,e){var r=n(t);return r<0?o(r+e,0):i(r,e)}},"23dc":function(t,e,r){"use strict";r("d44e")(Math,"Math",!0)},"23e7":function(t,e,r){"use strict";var n=r("da84"),o=r("06cf").f,i=r("9112"),a=r("cb2d"),c=r("6374"),s=r("e893"),u=r("94ca");t.exports=function(t,e){var r,f,l,d,p,h=t.target,v=t.global,m=t.stat;if(r=v?n:m?n[h]||c(h,{}):n[h]&&n[h].prototype)for(f in e){if(d=e[f],l=t.dontCallGetSet?(p=o(r,f))&&p.value:r[f],!u(v?f:h+(m?".":"#")+f,t.forced)&&void 0!==l){if(typeof d==typeof l)continue;s(d,l)}(t.sham||l&&l.sham)&&i(d,"sham",!0),a(r,f,d,t)}}},"241c":function(t,e,r){"use strict";var n=r("ca84"),o=r("7839").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},"24fb":function(t,e,r){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var r=function(t,e){var r=t[1]||"",n=t[3];if(!n)return r;if(e&&"function"==typeof btoa){var o=(a=n,c=btoa(unescape(encodeURIComponent(JSON.stringify(a)))),s="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(c),"/*# ".concat(s," */")),i=n.sources.map((function(t){return"/*# sourceURL=".concat(n.sourceRoot||"").concat(t," */")}));return[r].concat(i).concat([o]).join("\n")}var a,c,s;return[r].join("\n")}(e,t);return e[2]?"@media ".concat(e[2]," {").concat(r,"}"):r})).join("")},e.i=function(t,r,n){"string"==typeof t&&(t=[[null,t,""]]);var o={};if(n)for(var i=0;i1?arguments[1]:void 0)}})},"25f0":function(t,e,r){"use strict";var n=r("5e77").PROPER,o=r("cb2d"),i=r("825a"),a=r("577e"),c=r("d039"),s=r("90d8"),u=RegExp.prototype,f=u.toString,l=c((function(){return"/a/b"!==f.call({source:"a",flags:"b"})})),d=n&&"toString"!==f.name;(l||d)&&o(u,"toString",(function(){var t=i(this);return"/"+a(t.source)+"/"+a(s(t))}),{unsafe:!0})},2626:function(t,e,r){"use strict";var n=r("d066"),o=r("edd0"),i=r("b622"),a=r("83ab"),c=i("species");t.exports=function(t){var e=n(t);a&&e&&!e[c]&&o(e,c,{configurable:!0,get:function(){return this}})}},"271a":function(t,e,r){"use strict";var n=r("cb2d"),o=r("e330"),i=r("577e"),a=r("d6d6"),c=URLSearchParams,s=c.prototype,u=o(s.getAll),f=o(s.has),l=new c("a=1");!l.has("a",2)&&l.has("a",void 0)||n(s,"has",(function(t){var e=arguments.length,r=e<2?void 0:arguments[1];if(e&&void 0===r)return f(this,t);var n=u(this,t);a(e,1);for(var o=i(r),c=0;c1?arguments[1]:void 0,e.length)),n=s(t);return p(e,r,r+n.length)===n}})},"2cf4":function(t,e,r){"use strict";var n,o,i,a,c=r("da84"),s=r("2ba4"),u=r("0366"),f=r("1626"),l=r("1a2d"),d=r("d039"),p=r("1be4"),h=r("f36a"),v=r("cc12"),m=r("d6d6"),b=r("1cdc"),y=r("605d"),g=c.setImmediate,w=c.clearImmediate,x=c.process,O=c.Dispatch,E=c.Function,S=c.MessageChannel,j=c.String,C=0,P={};d((function(){n=c.location}));var T=function(t){if(l(P,t)){var e=P[t];delete P[t],e()}},_=function(t){return function(){T(t)}},R=function(t){T(t.data)},A=function(t){c.postMessage(j(t),n.protocol+"//"+n.host)};g&&w||(g=function(t){m(arguments.length,1);var e=f(t)?t:E(t),r=h(arguments,1);return P[++C]=function(){s(e,void 0,r)},o(C),C},w=function(t){delete P[t]},y?o=function(t){x.nextTick(_(t))}:O&&O.now?o=function(t){O.now(_(t))}:S&&!b?(a=(i=new S).port2,i.port1.onmessage=R,o=u(a.postMessage,a)):c.addEventListener&&f(c.postMessage)&&!c.importScripts&&n&&"file:"!==n.protocol&&!d(A)?(o=A,c.addEventListener("message",R,!1)):o="onreadystatechange"in v("script")?function(t){p.appendChild(v("script")).onreadystatechange=function(){p.removeChild(this),T(t)}}:function(t){setTimeout(_(t),0)}),t.exports={set:g,clear:w}},"2d00":function(t,e,r){"use strict";var n,o,i=r("da84"),a=r("342f"),c=i.process,s=i.Deno,u=c&&c.versions||s&&s.version,f=u&&u.v8;f&&(o=(n=f.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!o&&a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(o=+n[1]),t.exports=o},3410:function(t,e,r){"use strict";var n=r("23e7"),o=r("d039"),i=r("7b0b"),a=r("e163"),c=r("e177");n({target:"Object",stat:!0,forced:o((function(){a(1)})),sham:!c},{getPrototypeOf:function(t){return a(i(t))}})},"342f":function(t,e,r){"use strict";t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},3511:function(t,e,r){"use strict";var n=TypeError;t.exports=function(t){if(t>9007199254740991)throw n("Maximum allowed index exceeded");return t}},3529:function(t,e,r){"use strict";var n=r("23e7"),o=r("c65b"),i=r("59ed"),a=r("f069"),c=r("e667"),s=r("2266");n({target:"Promise",stat:!0,forced:r("5eed")},{race:function(t){var e=this,r=a.f(e),n=r.reject,u=c((function(){var a=i(e.resolve);s(t,(function(t){o(a,e,t).then(r.resolve,n)}))}));return u.error&&n(u.value),r.promise}})},"35a1":function(t,e,r){"use strict";var n=r("f5df"),o=r("dc4a"),i=r("7234"),a=r("3f8c"),c=r("b622")("iterator");t.exports=function(t){if(!i(t))return o(t,c)||o(t,"@@iterator")||a[n(t)]}},"37e8":function(t,e,r){"use strict";var n=r("83ab"),o=r("aed9"),i=r("9bf2"),a=r("825a"),c=r("fc6a"),s=r("df75");e.f=n&&!o?Object.defineProperties:function(t,e){a(t);for(var r,n=c(e),o=s(e),u=o.length,f=0;u>f;)i.f(t,r=o[f++],n[r]);return t}},3835:function(t,e,r){"use strict";r.d(e,"a",(function(){return o}));r("a4d3"),r("e01a"),r("d28b"),r("e260"),r("14d9"),r("d3b7"),r("3ca3"),r("ddb0");var n=r("06c5");r("d9e2");function o(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],s=!0,u=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);s=!0);}catch(t){u=!0,o=t}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return c}}(t,e)||Object(n.a)(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},"3a34":function(t,e,r){"use strict";var n=r("83ab"),o=r("e8b5"),i=TypeError,a=Object.getOwnPropertyDescriptor,c=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=c?function(t,e){if(o(t)&&!a(t,"length").writable)throw new i("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}},"3a9b":function(t,e,r){"use strict";var n=r("e330");t.exports=n({}.isPrototypeOf)},"3bbe":function(t,e,r){"use strict";var n=r("1787"),o=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw new i("Can't set "+o(t)+" as a prototype")}},"3ca3":function(t,e,r){"use strict";var n=r("6547").charAt,o=r("577e"),i=r("69f3"),a=r("c6d2"),c=r("4754"),s=i.set,u=i.getterFor("String Iterator");a(String,"String",(function(t){s(this,{type:"String Iterator",string:o(t),index:0})}),(function(){var t,e=u(this),r=e.string,o=e.index;return o>=r.length?c(void 0,!0):(t=n(r,o),e.index+=t.length,c(t,!1))}))},"3f8c":function(t,e,r){"use strict";t.exports={}},4002:function(t,e,r){"use strict";r("3ca3");var n,o=r("23e7"),i=r("83ab"),a=r("f354"),c=r("da84"),s=r("0366"),u=r("e330"),f=r("cb2d"),l=r("edd0"),d=r("19aa"),p=r("1a2d"),h=r("60da"),v=r("4df4"),m=r("f36a"),b=r("6547").codeAt,y=r("5fb2"),g=r("577e"),w=r("d44e"),x=r("d6d6"),O=r("5352"),E=r("69f3"),S=E.set,j=E.getterFor("URL"),C=O.URLSearchParams,P=O.getState,T=c.URL,_=c.TypeError,R=c.parseInt,A=Math.floor,$=Math.pow,k=u("".charAt),D=u(/./.exec),I=u([].join),M=u(1..toString),L=u([].pop),U=u([].push),F=u("".replace),N=u([].shift),B=u("".split),W=u("".slice),H=u("".toLowerCase),z=u([].unshift),q=/[a-z]/i,V=/[\d+-.a-z]/i,G=/\d/,Y=/^0x/i,J=/^[0-7]+$/,Q=/^\d+$/,X=/^[\da-f]+$/i,K=/[\0\t\n\r #%/:<>?@[\\\]^|]/,Z=/[\0\t\n\r #/:<>?@[\\\]^|]/,tt=/^[\u0000-\u0020]+/,et=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,rt=/[\t\n\r]/g,nt=function(t){var e,r,n,o;if("number"==typeof t){for(e=[],r=0;r<4;r++)z(e,t%256),t=A(t/256);return I(e,".")}if("object"==typeof t){for(e="",n=function(t){for(var e=null,r=1,n=null,o=0,i=0;i<8;i++)0!==t[i]?(o>r&&(e=n,r=o),n=null,o=0):(null===n&&(n=i),++o);return o>r&&(e=n,r=o),e}(t),r=0;r<8;r++)o&&0===t[r]||(o&&(o=!1),n===r?(e+=r?":":"::",o=!0):(e+=M(t[r],16),r<7&&(e+=":")));return"["+e+"]"}return t},ot={},it=h({},ot,{" ":1,'"':1,"<":1,">":1,"`":1}),at=h({},it,{"#":1,"?":1,"{":1,"}":1}),ct=h({},at,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),st=function(t,e){var r=b(t,0);return r>32&&r<127&&!p(e,t)?t:encodeURIComponent(t)},ut={ftp:21,file:null,http:80,https:443,ws:80,wss:443},ft=function(t,e){var r;return 2===t.length&&D(q,k(t,0))&&(":"===(r=k(t,1))||!e&&"|"===r)},lt=function(t){var e;return t.length>1&&ft(W(t,0,2))&&(2===t.length||"/"===(e=k(t,2))||"\\"===e||"?"===e||"#"===e)},dt=function(t){return"."===t||"%2e"===H(t)},pt={},ht={},vt={},mt={},bt={},yt={},gt={},wt={},xt={},Ot={},Et={},St={},jt={},Ct={},Pt={},Tt={},_t={},Rt={},At={},$t={},kt={},Dt=function(t,e,r){var n,o,i,a=g(t);if(e){if(o=this.parse(a))throw new _(o);this.searchParams=null}else{if(void 0!==r&&(n=new Dt(r,!0)),o=this.parse(a,null,n))throw new _(o);(i=P(new C)).bindURL(this),this.searchParams=i}};Dt.prototype={type:"URL",parse:function(t,e,r){var o,i,a,c,s,u=this,f=e||pt,l=0,d="",h=!1,b=!1,y=!1;for(t=g(t),e||(u.scheme="",u.username="",u.password="",u.host=null,u.port=null,u.path=[],u.query=null,u.fragment=null,u.cannotBeABaseURL=!1,t=F(t,tt,""),t=F(t,et,"$1")),t=F(t,rt,""),o=v(t);l<=o.length;){switch(i=o[l],f){case pt:if(!i||!D(q,i)){if(e)return"Invalid scheme";f=vt;continue}d+=H(i),f=ht;break;case ht:if(i&&(D(V,i)||"+"===i||"-"===i||"."===i))d+=H(i);else{if(":"!==i){if(e)return"Invalid scheme";d="",f=vt,l=0;continue}if(e&&(u.isSpecial()!==p(ut,d)||"file"===d&&(u.includesCredentials()||null!==u.port)||"file"===u.scheme&&!u.host))return;if(u.scheme=d,e)return void(u.isSpecial()&&ut[u.scheme]===u.port&&(u.port=null));d="","file"===u.scheme?f=Ct:u.isSpecial()&&r&&r.scheme===u.scheme?f=mt:u.isSpecial()?f=wt:"/"===o[l+1]?(f=bt,l++):(u.cannotBeABaseURL=!0,U(u.path,""),f=At)}break;case vt:if(!r||r.cannotBeABaseURL&&"#"!==i)return"Invalid scheme";if(r.cannotBeABaseURL&&"#"===i){u.scheme=r.scheme,u.path=m(r.path),u.query=r.query,u.fragment="",u.cannotBeABaseURL=!0,f=kt;break}f="file"===r.scheme?Ct:yt;continue;case mt:if("/"!==i||"/"!==o[l+1]){f=yt;continue}f=xt,l++;break;case bt:if("/"===i){f=Ot;break}f=Rt;continue;case yt:if(u.scheme=r.scheme,i===n)u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,u.path=m(r.path),u.query=r.query;else if("/"===i||"\\"===i&&u.isSpecial())f=gt;else if("?"===i)u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,u.path=m(r.path),u.query="",f=$t;else{if("#"!==i){u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,u.path=m(r.path),u.path.length--,f=Rt;continue}u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,u.path=m(r.path),u.query=r.query,u.fragment="",f=kt}break;case gt:if(!u.isSpecial()||"/"!==i&&"\\"!==i){if("/"!==i){u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,f=Rt;continue}f=Ot}else f=xt;break;case wt:if(f=xt,"/"!==i||"/"!==k(d,l+1))continue;l++;break;case xt:if("/"!==i&&"\\"!==i){f=Ot;continue}break;case Ot:if("@"===i){h&&(d="%40"+d),h=!0,a=v(d);for(var w=0;w65535)return"Invalid port";u.port=u.isSpecial()&&E===ut[u.scheme]?null:E,d=""}if(e)return;f=_t;continue}return"Invalid port"}d+=i;break;case Ct:if(u.scheme="file","/"===i||"\\"===i)f=Pt;else{if(!r||"file"!==r.scheme){f=Rt;continue}switch(i){case n:u.host=r.host,u.path=m(r.path),u.query=r.query;break;case"?":u.host=r.host,u.path=m(r.path),u.query="",f=$t;break;case"#":u.host=r.host,u.path=m(r.path),u.query=r.query,u.fragment="",f=kt;break;default:lt(I(m(o,l),""))||(u.host=r.host,u.path=m(r.path),u.shortenPath()),f=Rt;continue}}break;case Pt:if("/"===i||"\\"===i){f=Tt;break}r&&"file"===r.scheme&&!lt(I(m(o,l),""))&&(ft(r.path[0],!0)?U(u.path,r.path[0]):u.host=r.host),f=Rt;continue;case Tt:if(i===n||"/"===i||"\\"===i||"?"===i||"#"===i){if(!e&&ft(d))f=Rt;else if(""===d){if(u.host="",e)return;f=_t}else{if(c=u.parseHost(d))return c;if("localhost"===u.host&&(u.host=""),e)return;d="",f=_t}continue}d+=i;break;case _t:if(u.isSpecial()){if(f=Rt,"/"!==i&&"\\"!==i)continue}else if(e||"?"!==i)if(e||"#"!==i){if(i!==n&&(f=Rt,"/"!==i))continue}else u.fragment="",f=kt;else u.query="",f=$t;break;case Rt:if(i===n||"/"===i||"\\"===i&&u.isSpecial()||!e&&("?"===i||"#"===i)){if(".."===(s=H(s=d))||"%2e."===s||".%2e"===s||"%2e%2e"===s?(u.shortenPath(),"/"===i||"\\"===i&&u.isSpecial()||U(u.path,"")):dt(d)?"/"===i||"\\"===i&&u.isSpecial()||U(u.path,""):("file"===u.scheme&&!u.path.length&&ft(d)&&(u.host&&(u.host=""),d=k(d,0)+":"),U(u.path,d)),d="","file"===u.scheme&&(i===n||"?"===i||"#"===i))for(;u.path.length>1&&""===u.path[0];)N(u.path);"?"===i?(u.query="",f=$t):"#"===i&&(u.fragment="",f=kt)}else d+=st(i,at);break;case At:"?"===i?(u.query="",f=$t):"#"===i?(u.fragment="",f=kt):i!==n&&(u.path[0]+=st(i,ot));break;case $t:e||"#"!==i?i!==n&&("'"===i&&u.isSpecial()?u.query+="%27":u.query+="#"===i?"%23":st(i,ot)):(u.fragment="",f=kt);break;case kt:i!==n&&(u.fragment+=st(i,it))}l++}},parseHost:function(t){var e,r,n;if("["===k(t,0)){if("]"!==k(t,t.length-1))return"Invalid host";if(!(e=function(t){var e,r,n,o,i,a,c,s=[0,0,0,0,0,0,0,0],u=0,f=null,l=0,d=function(){return k(t,l)};if(":"===d()){if(":"!==k(t,1))return;l+=2,f=++u}for(;d();){if(8===u)return;if(":"!==d()){for(e=r=0;r<4&&D(X,d());)e=16*e+R(d(),16),l++,r++;if("."===d()){if(0===r)return;if(l-=r,u>6)return;for(n=0;d();){if(o=null,n>0){if(!("."===d()&&n<4))return;l++}if(!D(G,d()))return;for(;D(G,d());){if(i=R(d(),10),null===o)o=i;else{if(0===o)return;o=10*o+i}if(o>255)return;l++}s[u]=256*s[u]+o,2!==++n&&4!==n||u++}if(4!==n)return;break}if(":"===d()){if(l++,!d())return}else if(d())return;s[u++]=e}else{if(null!==f)return;l++,f=++u}}if(null!==f)for(a=u-f,u=7;0!==u&&a>0;)c=s[u],s[u--]=s[f+a-1],s[f+--a]=c;else if(8!==u)return;return s}(W(t,1,-1))))return"Invalid host";this.host=e}else if(this.isSpecial()){if(t=y(t),D(K,t))return"Invalid host";if(null===(e=function(t){var e,r,n,o,i,a,c,s=B(t,".");if(s.length&&""===s[s.length-1]&&s.length--,(e=s.length)>4)return t;for(r=[],n=0;n1&&"0"===k(o,0)&&(i=D(Y,o)?16:8,o=W(o,8===i?1:2)),""===o)a=0;else{if(!D(10===i?Q:8===i?J:X,o))return t;a=R(o,i)}U(r,a)}for(n=0;n=$(256,5-e))return null}else if(a>255)return null;for(c=L(r),n=0;n1?arguments[1]:void 0,n=S(e,new Dt(t,!1,r));i||(e.href=n.serialize(),e.origin=n.getOrigin(),e.protocol=n.getProtocol(),e.username=n.getUsername(),e.password=n.getPassword(),e.host=n.getHost(),e.hostname=n.getHostname(),e.port=n.getPort(),e.pathname=n.getPathname(),e.search=n.getSearch(),e.searchParams=n.getSearchParams(),e.hash=n.getHash())},Mt=It.prototype,Lt=function(t,e){return{get:function(){return j(this)[t]()},set:e&&function(t){return j(this)[e](t)},configurable:!0,enumerable:!0}};if(i&&(l(Mt,"href",Lt("serialize","setHref")),l(Mt,"origin",Lt("getOrigin")),l(Mt,"protocol",Lt("getProtocol","setProtocol")),l(Mt,"username",Lt("getUsername","setUsername")),l(Mt,"password",Lt("getPassword","setPassword")),l(Mt,"host",Lt("getHost","setHost")),l(Mt,"hostname",Lt("getHostname","setHostname")),l(Mt,"port",Lt("getPort","setPort")),l(Mt,"pathname",Lt("getPathname","setPathname")),l(Mt,"search",Lt("getSearch","setSearch")),l(Mt,"searchParams",Lt("getSearchParams")),l(Mt,"hash",Lt("getHash","setHash"))),f(Mt,"toJSON",(function(){return j(this).serialize()}),{enumerable:!0}),f(Mt,"toString",(function(){return j(this).serialize()}),{enumerable:!0}),T){var Ut=T.createObjectURL,Ft=T.revokeObjectURL;Ut&&f(It,"createObjectURL",s(Ut,T)),Ft&&f(It,"revokeObjectURL",s(Ft,T))}w(It,"URL"),o({global:!0,constructor:!0,forced:!a,sham:!i},{URL:It})},"408a":function(t,e,r){"use strict";var n=r("e330");t.exports=n(1..valueOf)},"40d5":function(t,e,r){"use strict";var n=r("d039");t.exports=!n((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},"428f":function(t,e,r){"use strict";var n=r("da84");t.exports=n},4362:function(t,e,r){var n,o;e.nextTick=function(t){var e=Array.prototype.slice.call(arguments);e.shift(),setTimeout((function(){t.apply(null,e)}),0)},e.platform=e.arch=e.execPath=e.title="browser",e.pid=1,e.browser=!0,e.env={},e.argv=[],e.binding=function(t){throw new Error("No such module. (Possibly not yet loaded)")},o="/",e.cwd=function(){return o},e.chdir=function(t){n||(n=r("df7c")),o=n.resolve(t,o)},e.exit=e.kill=e.umask=e.dlopen=e.uptime=e.memoryUsage=e.uvCounters=function(){},e.features={}},"44ad":function(t,e,r){"use strict";var n=r("e330"),o=r("d039"),i=r("c6b6"),a=Object,c=n("".split);t.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(t){return"String"===i(t)?c(t,""):a(t)}:a},"44d2":function(t,e,r){"use strict";var n=r("b622"),o=r("7c73"),i=r("9bf2").f,a=n("unscopables"),c=Array.prototype;void 0===c[a]&&i(c,a,{configurable:!0,value:o(null)}),t.exports=function(t){c[a][t]=!0}},"44de":function(t,e,r){"use strict";t.exports=function(t,e){try{1===arguments.length?console.error(t):console.error(t,e)}catch(t){}}},"44e7":function(t,e,r){"use strict";var n=r("861d"),o=r("c6b6"),i=r("b622")("match");t.exports=function(t){var e;return n(t)&&(void 0!==(e=t[i])?!!e:"RegExp"===o(t))}},4625:function(t,e,r){"use strict";var n=r("c6b6"),o=r("e330");t.exports=function(t){if("Function"===n(t))return o(t)}},"466d":function(t,e,r){"use strict";var n=r("c65b"),o=r("d784"),i=r("825a"),a=r("7234"),c=r("50c4"),s=r("577e"),u=r("1d80"),f=r("dc4a"),l=r("8aa5"),d=r("14c3");o("match",(function(t,e,r){return[function(e){var r=u(this),o=a(e)?void 0:f(e,t);return o?n(o,e,r):new RegExp(e)[t](s(r))},function(t){var n=i(this),o=s(t),a=r(e,n,o);if(a.done)return a.value;if(!n.global)return d(n,o);var u=n.unicode;n.lastIndex=0;for(var f,p=[],h=0;null!==(f=d(n,o));){var v=s(f[0]);p[h]=v,""===v&&(n.lastIndex=l(o,c(n.lastIndex),u)),h++}return 0===h?null:p}]}))},4738:function(t,e,r){"use strict";var n=r("da84"),o=r("d256"),i=r("1626"),a=r("94ca"),c=r("8925"),s=r("b622"),u=r("6069"),f=r("6c59"),l=r("c430"),d=r("2d00"),p=o&&o.prototype,h=s("species"),v=!1,m=i(n.PromiseRejectionEvent),b=a("Promise",(function(){var t=c(o),e=t!==String(o);if(!e&&66===d)return!0;if(l&&(!p.catch||!p.finally))return!0;if(!d||d<51||!/native code/.test(t)){var r=new o((function(t){t(1)})),n=function(t){t((function(){}),(function(){}))};if((r.constructor={})[h]=n,!(v=r.then((function(){}))instanceof n))return!0}return!e&&(u||f)&&!m}));t.exports={CONSTRUCTOR:b,REJECTION_EVENT:m,SUBCLASSING:v}},4754:function(t,e,r){"use strict";t.exports=function(t,e){return{value:t,done:e}}},4840:function(t,e,r){"use strict";var n=r("825a"),o=r("5087"),i=r("7234"),a=r("b622")("species");t.exports=function(t,e){var r,c=n(t).constructor;return void 0===c||i(r=n(c)[a])?e:o(r)}},"485a":function(t,e,r){"use strict";var n=r("c65b"),o=r("1626"),i=r("861d"),a=TypeError;t.exports=function(t,e){var r,c;if("string"===e&&o(r=t.toString)&&!i(c=n(r,t)))return c;if(o(r=t.valueOf)&&!i(c=n(r,t)))return c;if("string"!==e&&o(r=t.toString)&&!i(c=n(r,t)))return c;throw new a("Can't convert object to primitive value")}},"499e":function(t,e,r){"use strict";function n(t,e){for(var r=[],n={},o=0;or.parts.length&&(n.parts.length=r.parts.length)}else{var a=[];for(o=0;of;)if((u=c[f++])!=u)return!0}else for(;s>f;f++)if((t||f in c)&&c[f]===r)return t||f||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},"4de4":function(t,e,r){"use strict";var n=r("23e7"),o=r("b727").filter;n({target:"Array",proto:!0,forced:!r("1dde")("filter")},{filter:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(t,e,r){"use strict";var n=r("0366"),o=r("c65b"),i=r("7b0b"),a=r("9bdd"),c=r("e95a"),s=r("68ee"),u=r("07fa"),f=r("8418"),l=r("9a1f"),d=r("35a1"),p=Array;t.exports=function(t){var e=i(t),r=s(this),h=arguments.length,v=h>1?arguments[1]:void 0,m=void 0!==v;m&&(v=n(v,h>2?arguments[2]:void 0));var b,y,g,w,x,O,E=d(e),S=0;if(!E||this===p&&c(E))for(b=u(e),y=r?new this(b):p(b);b>S;S++)O=m?v(e[S],S):e[S],f(y,S,O);else for(y=r?new this:[],x=(w=l(e,E)).next;!(g=o(x,w)).done;S++)O=m?a(w,v,[g.value,S],!0):g.value,f(y,S,O);return y.length=S,y}},"4ec9":function(t,e,r){"use strict";r("6f48")},"4fad":function(t,e,r){"use strict";var n=r("d039"),o=r("861d"),i=r("c6b6"),a=r("d86b"),c=Object.isExtensible,s=n((function(){c(1)}));t.exports=s||a?function(t){return!!o(t)&&((!a||"ArrayBuffer"!==i(t))&&(!c||c(t)))}:c},5087:function(t,e,r){"use strict";var n=r("68ee"),o=r("0d51"),i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(o(t)+" is not a constructor")}},"50c4":function(t,e,r){"use strict";var n=r("5926"),o=Math.min;t.exports=function(t){var e=n(t);return e>0?o(e,9007199254740991):0}},"51eb":function(t,e,r){"use strict";var n=r("825a"),o=r("485a"),i=TypeError;t.exports=function(t){if(n(this),"string"===t||"default"===t)t="string";else if("number"!==t)throw new i("Incorrect hint");return o(this,t)}},5352:function(t,e,r){"use strict";r("e260");var n=r("23e7"),o=r("da84"),i=r("157a"),a=r("c65b"),c=r("e330"),s=r("83ab"),u=r("f354"),f=r("cb2d"),l=r("edd0"),d=r("6964"),p=r("d44e"),h=r("dcc3"),v=r("69f3"),m=r("19aa"),b=r("1626"),y=r("1a2d"),g=r("0366"),w=r("f5df"),x=r("825a"),O=r("861d"),E=r("577e"),S=r("7c73"),j=r("5c6c"),C=r("9a1f"),P=r("35a1"),T=r("4754"),_=r("d6d6"),R=r("b622"),A=r("addb"),$=R("iterator"),k=v.set,D=v.getterFor("URLSearchParams"),I=v.getterFor("URLSearchParamsIterator"),M=i("fetch"),L=i("Request"),U=i("Headers"),F=L&&L.prototype,N=U&&U.prototype,B=o.RegExp,W=o.TypeError,H=o.decodeURIComponent,z=o.encodeURIComponent,q=c("".charAt),V=c([].join),G=c([].push),Y=c("".replace),J=c([].shift),Q=c([].splice),X=c("".split),K=c("".slice),Z=/\+/g,tt=Array(4),et=function(t){return tt[t-1]||(tt[t-1]=B("((?:%[\\da-f]{2}){"+t+"})","gi"))},rt=function(t){try{return H(t)}catch(e){return t}},nt=function(t){var e=Y(t,Z," "),r=4;try{return H(e)}catch(t){for(;r;)e=Y(e,et(r--),rt);return e}},ot=/[!'()~]|%20/g,it={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},at=function(t){return it[t]},ct=function(t){return Y(z(t),ot,at)},st=h((function(t,e){k(this,{type:"URLSearchParamsIterator",target:D(t).entries,index:0,kind:e})}),"URLSearchParams",(function(){var t=I(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=void 0,T(void 0,!0);var n=e[r];switch(t.kind){case"keys":return T(n.key,!1);case"values":return T(n.value,!1)}return T([n.key,n.value],!1)}),!0),ut=function(t){this.entries=[],this.url=null,void 0!==t&&(O(t)?this.parseObject(t):this.parseQuery("string"==typeof t?"?"===q(t,0)?K(t,1):t:E(t)))};ut.prototype={type:"URLSearchParams",bindURL:function(t){this.url=t,this.update()},parseObject:function(t){var e,r,n,o,i,c,s,u=this.entries,f=P(t);if(f)for(r=(e=C(t,f)).next;!(n=a(r,e)).done;){if(i=(o=C(x(n.value))).next,(c=a(i,o)).done||(s=a(i,o)).done||!a(i,o).done)throw new W("Expected sequence with length 2");G(u,{key:E(c.value),value:E(s.value)})}else for(var l in t)y(t,l)&&G(u,{key:l,value:E(t[l])})},parseQuery:function(t){if(t)for(var e,r,n=this.entries,o=X(t,"&"),i=0;i0?arguments[0]:void 0,e=k(this,new ut(t));s||(this.size=e.entries.length)},lt=ft.prototype;if(d(lt,{append:function(t,e){var r=D(this);_(arguments.length,2),G(r.entries,{key:E(t),value:E(e)}),s||this.length++,r.updateURL()},delete:function(t){for(var e=D(this),r=_(arguments.length,1),n=e.entries,o=E(t),i=r<2?void 0:arguments[1],a=void 0===i?i:E(i),c=0;ce.key?1:-1})),t.updateURL()},forEach:function(t){for(var e,r=D(this).entries,n=g(t,arguments.length>1?arguments[1]:void 0),o=0;o1?ht(arguments[1]):{})}}),b(L)){var vt=function(t){return m(this,F),new L(t,arguments.length>1?ht(arguments[1]):{})};F.constructor=vt,vt.prototype=F,n({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:vt})}}t.exports={URLSearchParams:ft,getState:D}},"53ca":function(t,e,r){"use strict";r.d(e,"a",(function(){return n}));r("a4d3"),r("e01a"),r("d28b"),r("e260"),r("d3b7"),r("3ca3"),r("ddb0");function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}},5494:function(t,e,r){"use strict";var n=r("83ab"),o=r("e330"),i=r("edd0"),a=URLSearchParams.prototype,c=o(a.forEach);!n||"size"in a||i(a,"size",{get:function(){var t=0;return c(this,(function(){t++})),t},configurable:!0,enumerable:!0})},5692:function(t,e,r){"use strict";var n=r("c6cd");t.exports=function(t,e){return n[t]||(n[t]=e||{})}},"56ef":function(t,e,r){"use strict";var n=r("d066"),o=r("e330"),i=r("241c"),a=r("7418"),c=r("825a"),s=o([].concat);t.exports=n("Reflect","ownKeys")||function(t){var e=i.f(c(t)),r=a.f;return r?s(e,r(t)):e}},"577e":function(t,e,r){"use strict";var n=r("f5df"),o=String;t.exports=function(t){if("Symbol"===n(t))throw new TypeError("Cannot convert a Symbol value to a string");return o(t)}},"57b9":function(t,e,r){"use strict";var n=r("c65b"),o=r("d066"),i=r("b622"),a=r("cb2d");t.exports=function(){var t=o("Symbol"),e=t&&t.prototype,r=e&&e.valueOf,c=i("toPrimitive");e&&!e[c]&&a(e,c,(function(t){return n(r,this)}),{arity:1})}},5899:function(t,e,r){"use strict";t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},"58a8":function(t,e,r){"use strict";var n=r("e330"),o=r("1d80"),i=r("577e"),a=r("5899"),c=n("".replace),s=RegExp("^["+a+"]+"),u=RegExp("(^|[^"+a+"])["+a+"]+$"),f=function(t){return function(e){var r=i(o(e));return 1&t&&(r=c(r,s,"")),2&t&&(r=c(r,u,"$1")),r}};t.exports={start:f(1),end:f(2),trim:f(3)}},5926:function(t,e,r){"use strict";var n=r("b42e");t.exports=function(t){var e=+t;return e!=e||0===e?0:n(e)}},"59ed":function(t,e,r){"use strict";var n=r("1626"),o=r("0d51"),i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(o(t)+" is not a function")}},"5a34":function(t,e,r){"use strict";var n=r("44e7"),o=TypeError;t.exports=function(t){if(n(t))throw new o("The method doesn't accept regular expressions");return t}},"5a47":function(t,e,r){"use strict";var n=r("23e7"),o=r("04f8"),i=r("d039"),a=r("7418"),c=r("7b0b");n({target:"Object",stat:!0,forced:!o||i((function(){a.f(1)}))},{getOwnPropertySymbols:function(t){var e=a.f;return e?e(c(t)):[]}})},"5c0b":function(t,e,r){"use strict";var n=r("2909"),o=(r("d81d"),r("d3b7"),r("159b"),r("a180")),i=r("b3af"),a={name:"qrcode-capture",props:{formats:{type:Array,default:function(){return["qr_code"]}}},mixins:[i.a],methods:{onChangeInput:function(t){var e=this;Object(n.a)(t.target.files).map((function(t){return Object(o.b)(t,e.formats)})).forEach(this.onDetect)}}},c=r("2877"),s=Object(c.a)(a,(function(){return(0,this._self._c)("input",{attrs:{type:"file",name:"image",accept:"image/*",capture:"environment",multiple:""},on:{change:this.onChangeInput}})}),[],!1,null,null,null);e.a=s.exports},"5c6c":function(t,e,r){"use strict";t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"5e77":function(t,e,r){"use strict";var n=r("83ab"),o=r("1a2d"),i=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,c=o(i,"name"),s=c&&"something"===function(){}.name,u=c&&(!n||n&&a(i,"name").configurable);t.exports={EXISTS:c,PROPER:s,CONFIGURABLE:u}},"5e7e":function(t,e,r){"use strict";var n,o,i,a=r("23e7"),c=r("c430"),s=r("605d"),u=r("da84"),f=r("c65b"),l=r("cb2d"),d=r("d2bb"),p=r("d44e"),h=r("2626"),v=r("59ed"),m=r("1626"),b=r("861d"),y=r("19aa"),g=r("4840"),w=r("2cf4").set,x=r("b575"),O=r("44de"),E=r("e667"),S=r("01b4"),j=r("69f3"),C=r("d256"),P=r("4738"),T=r("f069"),_=P.CONSTRUCTOR,R=P.REJECTION_EVENT,A=P.SUBCLASSING,$=j.getterFor("Promise"),k=j.set,D=C&&C.prototype,I=C,M=D,L=u.TypeError,U=u.document,F=u.process,N=T.f,B=N,W=!!(U&&U.createEvent&&u.dispatchEvent),H=function(t){var e;return!(!b(t)||!m(e=t.then))&&e},z=function(t,e){var r,n,o,i=e.value,a=1===e.state,c=a?t.ok:t.fail,s=t.resolve,u=t.reject,l=t.domain;try{c?(a||(2===e.rejection&&J(e),e.rejection=1),!0===c?r=i:(l&&l.enter(),r=c(i),l&&(l.exit(),o=!0)),r===t.promise?u(new L("Promise-chain cycle")):(n=H(r))?f(n,r,s,u):s(r)):u(i)}catch(t){l&&!o&&l.exit(),u(t)}},q=function(t,e){t.notified||(t.notified=!0,x((function(){for(var r,n=t.reactions;r=n.get();)z(r,t);t.notified=!1,e&&!t.rejection&&G(t)})))},V=function(t,e,r){var n,o;W?((n=U.createEvent("Event")).promise=e,n.reason=r,n.initEvent(t,!1,!0),u.dispatchEvent(n)):n={promise:e,reason:r},!R&&(o=u["on"+t])?o(n):"unhandledrejection"===t&&O("Unhandled promise rejection",r)},G=function(t){f(w,u,(function(){var e,r=t.facade,n=t.value;if(Y(t)&&(e=E((function(){s?F.emit("unhandledRejection",n,r):V("unhandledrejection",r,n)})),t.rejection=s||Y(t)?2:1,e.error))throw e.value}))},Y=function(t){return 1!==t.rejection&&!t.parent},J=function(t){f(w,u,(function(){var e=t.facade;s?F.emit("rejectionHandled",e):V("rejectionhandled",e,t.value)}))},Q=function(t,e,r){return function(n){t(e,n,r)}},X=function(t,e,r){t.done||(t.done=!0,r&&(t=r),t.value=e,t.state=2,q(t,!0))},K=function(t,e,r){if(!t.done){t.done=!0,r&&(t=r);try{if(t.facade===e)throw new L("Promise can't be resolved itself");var n=H(e);n?x((function(){var r={done:!1};try{f(n,e,Q(K,r,t),Q(X,r,t))}catch(e){X(r,e,t)}})):(t.value=e,t.state=1,q(t,!1))}catch(e){X({done:!1},e,t)}}};if(_&&(M=(I=function(t){y(this,M),v(t),f(n,this);var e=$(this);try{t(Q(K,e),Q(X,e))}catch(t){X(e,t)}}).prototype,(n=function(t){k(this,{type:"Promise",done:!1,notified:!1,parent:!1,reactions:new S,rejection:!1,state:0,value:void 0})}).prototype=l(M,"then",(function(t,e){var r=$(this),n=N(g(this,I));return r.parent=!0,n.ok=!m(t)||t,n.fail=m(e)&&e,n.domain=s?F.domain:void 0,0===r.state?r.reactions.add(n):x((function(){z(n,r)})),n.promise})),o=function(){var t=new n,e=$(t);this.promise=t,this.resolve=Q(K,e),this.reject=Q(X,e)},T.f=N=function(t){return t===I||void 0===t?new o(t):B(t)},!c&&m(C)&&D!==Object.prototype)){i=D.then,A||l(D,"then",(function(t,e){var r=this;return new I((function(t,e){f(i,r,t,e)})).then(t,e)}),{unsafe:!0});try{delete D.constructor}catch(t){}d&&d(D,M)}a({global:!0,constructor:!0,wrap:!0,forced:_},{Promise:I}),p(I,"Promise",!1,!0),h("Promise")},"5eed":function(t,e,r){"use strict";var n=r("d256"),o=r("1c7e"),i=r("4738").CONSTRUCTOR;t.exports=i||!o((function(t){n.all(t).then(void 0,(function(){}))}))},"5fb2":function(t,e,r){"use strict";var n=r("e330"),o=/[^\0-\u007E]/,i=/[.\u3002\uFF0E\uFF61]/g,a="Overflow: input needs wider integers to process",c=RangeError,s=n(i.exec),u=Math.floor,f=String.fromCharCode,l=n("".charCodeAt),d=n([].join),p=n([].push),h=n("".replace),v=n("".split),m=n("".toLowerCase),b=function(t){return t+22+75*(t<26)},y=function(t,e,r){var n=0;for(t=r?u(t/700):t>>1,t+=u(t/e);t>455;)t=u(t/35),n+=36;return u(n+36*t/(t+38))},g=function(t){var e,r,n=[],o=(t=function(t){for(var e=[],r=0,n=t.length;r=55296&&o<=56319&&r=i&&ru((2147483647-s)/w))throw new c(a);for(s+=(g-i)*w,i=g,e=0;e2147483647)throw new c(a);if(r===i){for(var x=s,O=36;;){var E=O<=h?1:O>=h+26?26:O-h;if(xa;)for(var v,m=l(arguments[a++]),b=d?h(c(m),d(m)):c(m),y=b.length,g=0;y>g;)v=b[g++],n&&!i(p,m,v)||(r[v]=m[v]);return r}:d},6374:function(t,e,r){"use strict";var n=r("da84"),o=Object.defineProperty;t.exports=function(t,e){try{o(n,t,{value:e,configurable:!0,writable:!0})}catch(r){n[t]=e}return e}},6547:function(t,e,r){"use strict";var n=r("e330"),o=r("5926"),i=r("577e"),a=r("1d80"),c=n("".charAt),s=n("".charCodeAt),u=n("".slice),f=function(t){return function(e,r){var n,f,l=i(a(e)),d=o(r),p=l.length;return d<0||d>=p?t?"":void 0:(n=s(l,d))<55296||n>56319||d+1===p||(f=s(l,d+1))<56320||f>57343?t?c(l,d):n:t?u(l,d,d+2):f-56320+(n-55296<<10)+65536}};t.exports={codeAt:f(!1),charAt:f(!0)}},6566:function(t,e,r){"use strict";var n=r("7c73"),o=r("edd0"),i=r("6964"),a=r("0366"),c=r("19aa"),s=r("7234"),u=r("2266"),f=r("c6d2"),l=r("4754"),d=r("2626"),p=r("83ab"),h=r("f183").fastKey,v=r("69f3"),m=v.set,b=v.getterFor;t.exports={getConstructor:function(t,e,r,f){var l=t((function(t,o){c(t,d),m(t,{type:e,index:n(null),first:void 0,last:void 0,size:0}),p||(t.size=0),s(o)||u(o,t[f],{that:t,AS_ENTRIES:r})})),d=l.prototype,v=b(e),y=function(t,e,r){var n,o,i=v(t),a=g(t,e);return a?a.value=r:(i.last=a={index:o=h(e,!0),key:e,value:r,previous:n=i.last,next:void 0,removed:!1},i.first||(i.first=a),n&&(n.next=a),p?i.size++:t.size++,"F"!==o&&(i.index[o]=a)),t},g=function(t,e){var r,n=v(t),o=h(e);if("F"!==o)return n.index[o];for(r=n.first;r;r=r.next)if(r.key===e)return r};return i(d,{clear:function(){for(var t=v(this),e=t.first;e;)e.removed=!0,e.previous&&(e.previous=e.previous.next=void 0),e=e.next;t.first=t.last=void 0,t.index=n(null),p?t.size=0:this.size=0},delete:function(t){var e=v(this),r=g(this,t);if(r){var n=r.next,o=r.previous;delete e.index[r.index],r.removed=!0,o&&(o.next=n),n&&(n.previous=o),e.first===r&&(e.first=n),e.last===r&&(e.last=o),p?e.size--:this.size--}return!!r},forEach:function(t){for(var e,r=v(this),n=a(t,arguments.length>1?arguments[1]:void 0);e=e?e.next:r.first;)for(n(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!g(this,t)}}),i(d,r?{get:function(t){var e=g(this,t);return e&&e.value},set:function(t,e){return y(this,0===t?0:t,e)}}:{add:function(t){return y(this,t=0===t?0:t,t)}}),p&&o(d,"size",{configurable:!0,get:function(){return v(this).size}}),l},setStrong:function(t,e,r){var n=e+" Iterator",o=b(e),i=b(n);f(t,e,(function(t,e){m(this,{type:n,target:t,state:o(t),kind:e,last:void 0})}),(function(){for(var t=i(this),e=t.kind,r=t.last;r&&r.removed;)r=r.previous;return t.target&&(t.last=r=r?r.next:t.state.first)?l("keys"===e?r.key:"values"===e?r.value:[r.key,r.value],!1):(t.target=void 0,l(void 0,!0))}),r?"entries":"values",!r,!0),d(e)}}},"65f0":function(t,e,r){"use strict";var n=r("0b42");t.exports=function(t,e){return new(n(t))(0===e?0:e)}},"68ee":function(t,e,r){"use strict";var n=r("e330"),o=r("d039"),i=r("1626"),a=r("f5df"),c=r("d066"),s=r("8925"),u=function(){},f=c("Reflect","construct"),l=/^\s*(?:class|function)\b/,d=n(l.exec),p=!l.test(u),h=function(t){if(!i(t))return!1;try{return f(u,[],t),!0}catch(t){return!1}},v=function(t){if(!i(t))return!1;switch(a(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return p||!!d(l,s(t))}catch(t){return!0}};v.sham=!0,t.exports=!f||o((function(){var t;return h(h.call)||!h(Object)||!h((function(){t=!0}))||t}))?v:h},6964:function(t,e,r){"use strict";var n=r("cb2d");t.exports=function(t,e,r){for(var o in e)n(t,o,e[o],r);return t}},"69f3":function(t,e,r){"use strict";var n,o,i,a=r("cdce"),c=r("da84"),s=r("861d"),u=r("9112"),f=r("1a2d"),l=r("c6cd"),d=r("f772"),p=r("d012"),h=c.TypeError,v=c.WeakMap;if(a||l.state){var m=l.state||(l.state=new v);m.get=m.get,m.has=m.has,m.set=m.set,n=function(t,e){if(m.has(t))throw new h("Object already initialized");return e.facade=t,m.set(t,e),e},o=function(t){return m.get(t)||{}},i=function(t){return m.has(t)}}else{var b=d("state");p[b]=!0,n=function(t,e){if(f(t,b))throw new h("Object already initialized");return e.facade=t,u(t,b,e),e},o=function(t){return f(t,b)?t[b]:{}},i=function(t){return f(t,b)}}t.exports={set:n,get:o,has:i,enforce:function(t){return i(t)?o(t):n(t,{})},getterFor:function(t){return function(e){var r;if(!s(e)||(r=o(e)).type!==t)throw new h("Incompatible receiver, "+t+" required");return r}}}},"6b75":function(t,e,r){"use strict";function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r{if(!e.has(t))throw TypeError("Cannot "+r)},i=(t,e,r)=>(o(t,e,"read from private field"),r?r.call(t):e.get(t));const a=["Aztec","Codabar","Code128","Code39","Code93","DataBar","DataBarExpanded","DataMatrix","DXFilmEdge","EAN-13","EAN-8","ITF","Linear-Codes","Matrix-Codes","MaxiCode","MicroQRCode","None","PDF417","QRCode","rMQRCode","UPC-A","UPC-E"];function c(t){return t.join("|")}function s(t){const e=u(t);let r=0,n=a.length-1;for(;r<=n;){const t=Math.floor((r+n)/2),o=a[t],i=u(o);if(i===e)return o;i{const r=t.match(/_(.+?)\.wasm$/);return r?`https://fastly.jsdelivr.net/npm/zxing-wasm@1.2.4/dist/${r[1]}/${t}`:e+t}};let w=new WeakMap;function x(t,e){var r;const n=w.get(t);if(null!=n&&n.modulePromise&&(void 0===e||Object.is(e,n.moduleOverrides)))return n.modulePromise;const o=null!=(r=null!=e?e:null==n?void 0:n.moduleOverrides)?r:g,i=t({...o});return w.set(t,{moduleOverrides:o,modulePromise:i}),i}var O,E=(O=typeof document<"u"&&document.currentScript?document.currentScript.src:void 0,function(e={}){var r,o,i=e;i.ready=new Promise((t,e)=>{r=t,o=e});var a=Object.assign({},i),c="./this.program",s="object"==typeof window,u=typeof Bun<"u",f="function"==typeof importScripts;"object"==typeof t&&"object"==typeof t.versions&&t.versions.node;var l,d="";(s||f||u)&&(f?d=self.location.href:typeof document<"u"&&document.currentScript&&(d=document.currentScript.src),O&&(d=O),d=d.startsWith("blob:")?"":d.substr(0,d.replace(/[?#].*/,"").lastIndexOf("/")+1),f&&(l=t=>{var e=new XMLHttpRequest;return e.open("GET",t,!1),e.responseType="arraybuffer",e.send(null),new Uint8Array(e.response)}));var p,h=i.print||console.log.bind(console),v=i.printErr||console.error.bind(console);Object.assign(i,a),a=null,i.arguments&&i.arguments,i.thisProgram&&(c=i.thisProgram),i.quit&&i.quit,i.wasmBinary&&(p=i.wasmBinary),"object"!=typeof WebAssembly&&k("no native wasm support detected");var m,b,y,g,w,x,E,S,j,C=!1;function P(){var t=m.buffer;i.HEAP8=b=new Int8Array(t),i.HEAP16=g=new Int16Array(t),i.HEAPU8=y=new Uint8Array(t),i.HEAPU16=w=new Uint16Array(t),i.HEAP32=x=new Int32Array(t),i.HEAPU32=E=new Uint32Array(t),i.HEAPF32=S=new Float32Array(t),i.HEAPF64=j=new Float64Array(t)}var T=[],_=[],R=[],A=0,$=null;function k(t){var e;null===(e=i.onAbort)||void 0===e||e.call(i,t),v(t="Aborted("+t+")"),C=!0,t+=". Build with -sASSERTIONS for more info.";var r=new WebAssembly.RuntimeError(t);throw o(r),r}var D,I,M=t=>t.startsWith("data:application/octet-stream;base64,");function L(t){if(t==D&&p)return new Uint8Array(p);if(l)return l(t);throw"both async and sync fetching of the wasm failed"}function U(t,e,r){return function(t){return!p&&(s||f||u)&&"function"==typeof fetch?fetch(t,{credentials:"same-origin"}).then(e=>{if(!e.ok)throw`failed to load wasm binary file at '${t}'`;return e.arrayBuffer()}).catch(()=>L(t)):Promise.resolve().then(()=>L(t))}(t).then(t=>WebAssembly.instantiate(t,e)).then(r,t=>{v(`failed to asynchronously prepare wasm: ${t}`),k(t)})}M(D="zxing_reader.wasm")||(I=D,D=i.locateFile?i.locateFile(I,d):d+I);var F=t=>{for(;t.length>0;)t.shift()(i)};i.noExitRuntime;var N=[],B=0,W=0;class H{constructor(t){this.excPtr=t,this.ptr=t-24}set_type(t){E[this.ptr+4>>2]=t}get_type(){return E[this.ptr+4>>2]}set_destructor(t){E[this.ptr+8>>2]=t}get_destructor(){return E[this.ptr+8>>2]}set_caught(t){t=t?1:0,b[this.ptr+12]=t}get_caught(){return 0!=b[this.ptr+12]}set_rethrown(t){t=t?1:0,b[this.ptr+13]=t}get_rethrown(){return 0!=b[this.ptr+13]}init(t,e){this.set_adjusted_ptr(0),this.set_type(t),this.set_destructor(e)}set_adjusted_ptr(t){E[this.ptr+16>>2]=t}get_adjusted_ptr(){return E[this.ptr+16>>2]}get_exception_ptr(){if(He(this.get_type()))return E[this.excPtr>>2];var t=this.get_adjusted_ptr();return 0!==t?t:this.excPtr}}var z=t=>{var e=W;if(!e)return Le(0),0;var r=new H(e);r.set_adjusted_ptr(e);var n=r.get_type();if(!n)return Le(0),e;for(var o in t){var i=t[o];if(0===i||i===n)break;var a=r.ptr+16;if(We(i,n,a))return Le(i),e}return Le(n),e},q={},V=t=>{for(;t.length;){var e=t.pop();t.pop()(e)}};function G(t){return this.fromWireType(E[t>>2])}var Y,J,Q,X={},K={},Z={},tt=t=>{throw new Y(t)},et=(t,e,r)=>{function n(e){var n=r(e);n.length!==t.length&&tt("Mismatched type converter count");for(var o=0;o{K.hasOwnProperty(t)?o[e]=K[t]:(i.push(t),X.hasOwnProperty(t)||(X[t]=[]),X[t].push(()=>{o[e]=K[t],++a===i.length&&n(o)}))}),0===i.length&&n(o)},rt=t=>{for(var e="",r=t;y[r];)e+=J[y[r++]];return e},nt=t=>{throw new Q(t)};function ot(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};var n=e.name;if(t||nt(`type "${n}" must have a positive integer typeid pointer`),K.hasOwnProperty(t)){if(r.ignoreDuplicateRegistrations)return;nt(`Cannot register type '${n}' twice`)}if(K[t]=e,delete Z[t],X.hasOwnProperty(t)){var o=X[t];delete X[t],o.forEach(t=>t())}}function it(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!("argPackAdvance"in e))throw new TypeError("registerType registeredInstance requires argPackAdvance");return ot(t,e,r)}var at,ct=8,st=t=>({count:t.count,deleteScheduled:t.deleteScheduled,preservePointerOnDelete:t.preservePointerOnDelete,ptr:t.ptr,ptrType:t.ptrType,smartPtr:t.smartPtr,smartPtrType:t.smartPtrType}),ut=t=>{nt(t.$$.ptrType.registeredClass.name+" instance already deleted")},ft=!1,lt=t=>{},dt=t=>{t.count.value-=1,0===t.count.value&&(t=>{t.smartPtr?t.smartPtrType.rawDestructor(t.smartPtr):t.ptrType.registeredClass.rawDestructor(t.ptr)})(t)},pt=(t,e,r)=>{if(e===r)return t;if(void 0===r.baseClass)return null;var n=pt(t,e,r.baseClass);return null===n?null:r.downcast(n)},ht={},vt=()=>Object.keys(wt).length,mt=()=>{var t=[];for(var e in wt)wt.hasOwnProperty(e)&&t.push(wt[e]);return t},bt=[],yt=()=>{for(;bt.length;){var t=bt.pop();t.$$.deleteScheduled=!1,t.delete()}},gt=t=>{at=t,bt.length&&at&&at(yt)},wt={},xt=(t,e)=>(e=((t,e)=>{for(void 0===e&&nt("ptr should not be undefined");t.baseClass;)e=t.upcast(e),t=t.baseClass;return e})(t,e),wt[e]),Ot=(t,e)=>((!e.ptrType||!e.ptr)&&tt("makeClassHandle requires ptr and ptrType"),!!e.smartPtrType!=!!e.smartPtr&&tt("Both smartPtrType and smartPtr must be specified"),e.count={value:1},St(Object.create(t,{$$:{value:e,writable:!0}})));function Et(t){var e=this.getPointee(t);if(!e)return this.destructor(t),null;var r=xt(this.registeredClass,e);if(void 0!==r){if(0===r.$$.count.value)return r.$$.ptr=e,r.$$.smartPtr=t,r.clone();var n=r.clone();return this.destructor(t),n}function o(){return this.isSmartPointer?Ot(this.registeredClass.instancePrototype,{ptrType:this.pointeeType,ptr:e,smartPtrType:this,smartPtr:t}):Ot(this.registeredClass.instancePrototype,{ptrType:this,ptr:t})}var i,a=this.registeredClass.getActualType(e),c=ht[a];if(!c)return o.call(this);i=this.isConst?c.constPointerType:c.pointerType;var s=pt(e,this.registeredClass,i.registeredClass);return null===s?o.call(this):this.isSmartPointer?Ot(i.registeredClass.instancePrototype,{ptrType:i,ptr:s,smartPtrType:this,smartPtr:t}):Ot(i.registeredClass.instancePrototype,{ptrType:i,ptr:s})}var St=t=>typeof FinalizationRegistry>"u"?(St=t=>t,t):(ft=new FinalizationRegistry(t=>{dt(t.$$)}),lt=t=>ft.unregister(t),(St=t=>{var e=t.$$;if(e.smartPtr){var r={$$:e};ft.register(t,r,t)}return t})(t));function jt(){}var Ct=(t,e)=>Object.defineProperty(e,"name",{value:t}),Pt=(t,e,r)=>{if(void 0===t[e].overloadTable){var n=t[e];t[e]=function(){for(var n=arguments.length,o=new Array(n),i=0;i{i.hasOwnProperty(t)?((void 0===r||void 0!==i[t].overloadTable&&void 0!==i[t].overloadTable[r])&&nt(`Cannot register public name '${t}' twice`),Pt(i,t,t),i.hasOwnProperty(r)&&nt(`Cannot register multiple overloads of a function with the same number of arguments (${r})!`),i[t].overloadTable[r]=e):(i[t]=e,void 0!==r&&(i[t].numArguments=r))};function _t(t,e,r,n,o,i,a,c){this.name=t,this.constructor=e,this.instancePrototype=r,this.rawDestructor=n,this.baseClass=o,this.getActualType=i,this.upcast=a,this.downcast=c,this.pureVirtualFunctions=[]}var Rt=(t,e,r)=>{for(;e!==r;)e.upcast||nt(`Expected null or instance of ${r.name}, got an instance of ${e.name}`),t=e.upcast(t),e=e.baseClass;return t};function At(t,e){if(null===e)return this.isReference&&nt(`null is not a valid ${this.name}`),0;e.$$||nt(`Cannot pass "${ne(e)}" as a ${this.name}`),e.$$.ptr||nt(`Cannot pass deleted object as a pointer of type ${this.name}`);var r=e.$$.ptrType.registeredClass;return Rt(e.$$.ptr,r,this.registeredClass)}function $t(t,e){var r;if(null===e)return this.isReference&&nt(`null is not a valid ${this.name}`),this.isSmartPointer?(r=this.rawConstructor(),null!==t&&t.push(this.rawDestructor,r),r):0;(!e||!e.$$)&&nt(`Cannot pass "${ne(e)}" as a ${this.name}`),e.$$.ptr||nt(`Cannot pass deleted object as a pointer of type ${this.name}`),!this.isConst&&e.$$.ptrType.isConst&&nt(`Cannot convert argument of type ${e.$$.smartPtrType?e.$$.smartPtrType.name:e.$$.ptrType.name} to parameter type ${this.name}`);var n=e.$$.ptrType.registeredClass;if(r=Rt(e.$$.ptr,n,this.registeredClass),this.isSmartPointer)switch(void 0===e.$$.smartPtr&&nt("Passing raw pointer to smart pointer is illegal"),this.sharingPolicy){case 0:e.$$.smartPtrType===this?r=e.$$.smartPtr:nt(`Cannot convert argument of type ${e.$$.smartPtrType?e.$$.smartPtrType.name:e.$$.ptrType.name} to parameter type ${this.name}`);break;case 1:r=e.$$.smartPtr;break;case 2:if(e.$$.smartPtrType===this)r=e.$$.smartPtr;else{var o=e.clone();r=this.rawShare(r,Kt.toHandle(()=>o.delete())),null!==t&&t.push(this.rawDestructor,r)}break;default:nt("Unsupporting sharing policy")}return r}function kt(t,e){if(null===e)return this.isReference&&nt(`null is not a valid ${this.name}`),0;e.$$||nt(`Cannot pass "${ne(e)}" as a ${this.name}`),e.$$.ptr||nt(`Cannot pass deleted object as a pointer of type ${this.name}`),e.$$.ptrType.isConst&&nt(`Cannot convert argument of type ${e.$$.ptrType.name} to parameter type ${this.name}`);var r=e.$$.ptrType.registeredClass;return Rt(e.$$.ptr,r,this.registeredClass)}function Dt(t,e,r,n,o,i,a,c,s,u,f){this.name=t,this.registeredClass=e,this.isReference=r,this.isConst=n,this.isSmartPointer=o,this.pointeeType=i,this.sharingPolicy=a,this.rawGetPointee=c,this.rawConstructor=s,this.rawShare=u,this.rawDestructor=f,o||void 0!==e.baseClass?this.toWireType=$t:n?(this.toWireType=At,this.destructorFunction=null):(this.toWireType=kt,this.destructorFunction=null)}var It,Mt,Lt=(t,e,r)=>{i.hasOwnProperty(t)||tt("Replacing nonexistant public symbol"),void 0!==i[t].overloadTable&&void 0!==r?i[t].overloadTable[r]=e:(i[t]=e,i[t].argCount=r)},Ut=(t,e,r)=>(0,i["dynCall_"+t])(e,...r),Ft=[],Nt=t=>{var e=Ft[t];return e||(t>=Ft.length&&(Ft.length=t+1),Ft[t]=e=It.get(t)),e},Bt=function(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];if(t.includes("j"))return Ut(t,e,r);var n=Nt(e)(...r);return n},Wt=(t,e)=>{var r=(t=rt(t)).includes("j")?((t,e)=>function(){for(var r=arguments.length,n=new Array(r),o=0;o{var e=Ie(t),r=rt(e);return ke(e),r},zt=(t,e)=>{var r=[],n={};throw e.forEach((function t(e){if(!n[e]&&!K[e]){if(Z[e])return void Z[e].forEach(t);r.push(e),n[e]=!0}})),new Mt(`${t}: `+r.map(Ht).join([", "]))},qt=(t,e)=>{for(var r=[],n=0;n>2]);return r};function Vt(t,e,r,n,o,i){var a=e.length;a<2&&nt("argTypes array size mismatch! Must at least get return value and 'this' types!");var c=null!==e[1]&&null!==r,s=function(t){for(var e=1;e{const e=(t=t.trim()).indexOf("(");return-1!==e?t.substr(0,e):t},Yt=[],Jt=[],Qt=t=>{t>9&&0==--Jt[t+1]&&(Jt[t]=void 0,Yt.push(t))},Xt=()=>Jt.length/2-5-Yt.length,Kt={toValue:t=>(t||nt("Cannot use deleted val. handle = "+t),Jt[t]),toHandle:t=>{switch(t){case void 0:return 2;case null:return 4;case!0:return 6;case!1:return 8;default:{const e=Yt.pop()||Jt.length;return Jt[e]=t,Jt[e+1]=1,e}}}},Zt={name:"emscripten::val",fromWireType:t=>{var e=Kt.toValue(t);return Qt(t),e},toWireType:(t,e)=>Kt.toHandle(e),argPackAdvance:ct,readValueFromPointer:G,destructorFunction:null},te=t=>it(t,Zt),ee=(t,e,r)=>{switch(e){case 1:return r?function(t){return this.fromWireType(b[t])}:function(t){return this.fromWireType(y[t])};case 2:return r?function(t){return this.fromWireType(g[t>>1])}:function(t){return this.fromWireType(w[t>>1])};case 4:return r?function(t){return this.fromWireType(x[t>>2])}:function(t){return this.fromWireType(E[t>>2])};default:throw new TypeError(`invalid integer width (${e}): ${t}`)}},re=(t,e)=>{var r=K[t];return void 0===r&&nt(`${e} has unknown type ${Ht(t)}`),r},ne=t=>{if(null===t)return"null";var e=typeof t;return"object"===e||"array"===e||"function"===e?t.toString():""+t},oe=(t,e)=>{switch(e){case 4:return function(t){return this.fromWireType(S[t>>2])};case 8:return function(t){return this.fromWireType(j[t>>3])};default:throw new TypeError(`invalid float width (${e}): ${t}`)}},ie=(t,e,r)=>{switch(e){case 1:return r?t=>b[t]:t=>y[t];case 2:return r?t=>g[t>>1]:t=>w[t>>1];case 4:return r?t=>x[t>>2]:t=>E[t>>2];default:throw new TypeError(`invalid integer width (${e}): ${t}`)}},ae=(t,e,r,n)=>{if(!(n>0))return 0;for(var o=r,i=r+n-1,a=0;a=55296&&c<=57343&&(c=65536+((1023&c)<<10)|1023&t.charCodeAt(++a)),c<=127){if(r>=i)break;e[r++]=c}else if(c<=2047){if(r+1>=i)break;e[r++]=192|c>>6,e[r++]=128|63&c}else if(c<=65535){if(r+2>=i)break;e[r++]=224|c>>12,e[r++]=128|c>>6&63,e[r++]=128|63&c}else{if(r+3>=i)break;e[r++]=240|c>>18,e[r++]=128|c>>12&63,e[r++]=128|c>>6&63,e[r++]=128|63&c}}return e[r]=0,r-o},ce=t=>{for(var e=0,r=0;r=55296&&n<=57343?(e+=4,++r):e+=3}return e},se=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0,ue=(t,e,r)=>{for(var n=e+r,o=e;t[o]&&!(o>=n);)++o;if(o-e>16&&t.buffer&&se)return se.decode(t.subarray(e,o));for(var i="";e>10,56320|1023&u)}}else i+=String.fromCharCode((31&a)<<6|c)}else i+=String.fromCharCode(a)}return i},fe=(t,e)=>t?ue(y,t,e):"",le=typeof TextDecoder<"u"?new TextDecoder("utf-16le"):void 0,de=(t,e)=>{for(var r=t,n=r>>1,o=n+e/2;!(n>=o)&&w[n];)++n;if((r=n<<1)-t>32&&le)return le.decode(y.subarray(t,r));for(var i="",a=0;!(a>=e/2);++a){var c=g[t+2*a>>1];if(0==c)break;i+=String.fromCharCode(c)}return i},pe=(t,e,r)=>{var n;if(null!==(n=r)&&void 0!==n||(r=2147483647),r<2)return 0;for(var o=e,i=(r-=2)<2*t.length?r/2:t.length,a=0;a>1]=c,e+=2}return g[e>>1]=0,e-o},he=t=>2*t.length,ve=(t,e)=>{for(var r=0,n="";!(r>=e/4);){var o=x[t+4*r>>2];if(0==o)break;if(++r,o>=65536){var i=o-65536;n+=String.fromCharCode(55296|i>>10,56320|1023&i)}else n+=String.fromCharCode(o)}return n},me=(t,e,r)=>{var n;if(null!==(n=r)&&void 0!==n||(r=2147483647),r<4)return 0;for(var o=e,i=o+r-4,a=0;a=55296&&c<=57343&&(c=65536+((1023&c)<<10)|1023&t.charCodeAt(++a)),x[e>>2]=c,(e+=4)+4>i)break}return x[e>>2]=0,e-o},be=t=>{for(var e=0,r=0;r=55296&&n<=57343&&++r,e+=4}return e},ye=[],ge={},we=()=>{if("object"==typeof globalThis)return globalThis;function t(t){t.$$$embind_global$$$=t;var e="object"==typeof $$$embind_global$$$&&t.$$$embind_global$$$==t;return e||delete t.$$$embind_global$$$,e}if("object"==typeof $$$embind_global$$$||("object"==typeof n&&t(n)?$$$embind_global$$$=n:"object"==typeof self&&t(self)&&($$$embind_global$$$=self),"object"==typeof $$$embind_global$$$))return $$$embind_global$$$;throw Error("unable to get global object.")},xe=Reflect.construct,Oe=t=>{var e=(t-m.buffer.byteLength+65535)/65536;try{return m.grow(e),P(),1}catch{}},Ee={},Se=()=>{if(!Se.strings){var t={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:("object"==typeof navigator&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",_:c||"./this.program"};for(var e in Ee)void 0===Ee[e]?delete t[e]:t[e]=Ee[e];var r=[];for(var e in t)r.push(`${e}=${t[e]}`);Se.strings=r}return Se.strings},je=[null,[],[]],Ce=(t,e)=>{var r=je[t];0===e||10===e?((1===t?h:v)(ue(r,0)),r.length=0):r.push(e)},Pe=t=>t%4==0&&(t%100!=0||t%400==0),Te=[31,29,31,30,31,30,31,31,30,31,30,31],_e=[31,28,31,30,31,30,31,31,30,31,30,31],Re=(t,e,r,n)=>{var o=E[n+40>>2],i={tm_sec:x[n>>2],tm_min:x[n+4>>2],tm_hour:x[n+8>>2],tm_mday:x[n+12>>2],tm_mon:x[n+16>>2],tm_year:x[n+20>>2],tm_wday:x[n+24>>2],tm_yday:x[n+28>>2],tm_isdst:x[n+32>>2],tm_gmtoff:x[n+36>>2],tm_zone:o?fe(o):""},a=fe(r),c={"%c":"%a %b %d %H:%M:%S %Y","%D":"%m/%d/%y","%F":"%Y-%m-%d","%h":"%b","%r":"%I:%M:%S %p","%R":"%H:%M","%T":"%H:%M:%S","%x":"%m/%d/%y","%X":"%H:%M:%S","%Ec":"%c","%EC":"%C","%Ex":"%m/%d/%y","%EX":"%H:%M:%S","%Ey":"%y","%EY":"%Y","%Od":"%d","%Oe":"%e","%OH":"%H","%OI":"%I","%Om":"%m","%OM":"%M","%OS":"%S","%Ou":"%u","%OU":"%U","%OV":"%V","%Ow":"%w","%OW":"%W","%Oy":"%y"};for(var s in c)a=a.replace(new RegExp(s,"g"),c[s]);var u=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],f=["January","February","March","April","May","June","July","August","September","October","November","December"];function l(t,e,r){for(var n="number"==typeof t?t.toString():t||"";n.length0?1:0}var n;return 0===(n=r(t.getFullYear()-e.getFullYear()))&&0===(n=r(t.getMonth()-e.getMonth()))&&(n=r(t.getDate()-e.getDate())),n}function h(t){switch(t.getDay()){case 0:return new Date(t.getFullYear()-1,11,29);case 1:return t;case 2:return new Date(t.getFullYear(),0,3);case 3:return new Date(t.getFullYear(),0,2);case 4:return new Date(t.getFullYear(),0,1);case 5:return new Date(t.getFullYear()-1,11,31);case 6:return new Date(t.getFullYear()-1,11,30)}}function v(t){var e=((t,e)=>{for(var r=new Date(t.getTime());e>0;){var n=Pe(r.getFullYear()),o=r.getMonth(),i=(n?Te:_e)[o];if(!(e>i-r.getDate()))return r.setDate(r.getDate()+e),r;e-=i-r.getDate()+1,r.setDate(1),o<11?r.setMonth(o+1):(r.setMonth(0),r.setFullYear(r.getFullYear()+1))}return r})(new Date(t.tm_year+1900,0,1),t.tm_yday),r=new Date(e.getFullYear(),0,4),n=new Date(e.getFullYear()+1,0,4),o=h(r),i=h(n);return p(o,e)<=0?p(i,e)<=0?e.getFullYear()+1:e.getFullYear():e.getFullYear()-1}var m={"%a":t=>u[t.tm_wday].substring(0,3),"%A":t=>u[t.tm_wday],"%b":t=>f[t.tm_mon].substring(0,3),"%B":t=>f[t.tm_mon],"%C":t=>d((t.tm_year+1900)/100|0,2),"%d":t=>d(t.tm_mday,2),"%e":t=>l(t.tm_mday,2," "),"%g":t=>v(t).toString().substring(2),"%G":v,"%H":t=>d(t.tm_hour,2),"%I":t=>{var e=t.tm_hour;return 0==e?e=12:e>12&&(e-=12),d(e,2)},"%j":t=>d(t.tm_mday+((t,e)=>{for(var r=0,n=0;n<=e;r+=t[n++]);return r})(Pe(t.tm_year+1900)?Te:_e,t.tm_mon-1),3),"%m":t=>d(t.tm_mon+1,2),"%M":t=>d(t.tm_min,2),"%n":()=>"\n","%p":t=>t.tm_hour>=0&&t.tm_hour<12?"AM":"PM","%S":t=>d(t.tm_sec,2),"%t":()=>"\t","%u":t=>t.tm_wday||7,"%U":t=>{var e=t.tm_yday+7-t.tm_wday;return d(Math.floor(e/7),2)},"%V":t=>{var e=Math.floor((t.tm_yday+7-(t.tm_wday+6)%7)/7);if((t.tm_wday+371-t.tm_yday-2)%7<=2&&e++,e){if(53==e){var r=(t.tm_wday+371-t.tm_yday)%7;4!=r&&(3!=r||!Pe(t.tm_year))&&(e=1)}}else{e=52;var n=(t.tm_wday+7-t.tm_yday-1)%7;(4==n||5==n&&Pe(t.tm_year%400-1))&&e++}return d(e,2)},"%w":t=>t.tm_wday,"%W":t=>{var e=t.tm_yday+7-(t.tm_wday+6)%7;return d(Math.floor(e/7),2)},"%y":t=>(t.tm_year+1900).toString().substring(2),"%Y":t=>t.tm_year+1900,"%z":t=>{var e=t.tm_gmtoff;return(e>=0?"+":"-")+("0000"+(e=(e=Math.abs(e)/60)/60*100+e%60)).slice(-4)},"%Z":t=>t.tm_zone,"%%":()=>"%"};for(var s in a=a.replace(/%%/g,"\0\0"),m)a.includes(s)&&(a=a.replace(new RegExp(s,"g"),m[s](i)));var y=function(t,e,r){var n=r>0?r:ce(t)+1,o=new Array(n),i=ae(t,o,0,o.length);return e&&(o.length=i),o}(a=a.replace(/\0\0/g,"%"),!1);return y.length>e?0:(((t,e)=>{b.set(t,e)})(y,t),y.length-1)};Y=i.InternalError=class extends Error{constructor(t){super(t),this.name="InternalError"}},(()=>{for(var t=new Array(256),e=0;e<256;++e)t[e]=String.fromCharCode(e);J=t})(),Q=i.BindingError=class extends Error{constructor(t){super(t),this.name="BindingError"}},Object.assign(jt.prototype,{isAliasOf(t){if(!(this instanceof jt&&t instanceof jt))return!1;var e=this.$$.ptrType.registeredClass,r=this.$$.ptr;t.$$=t.$$;for(var n=t.$$.ptrType.registeredClass,o=t.$$.ptr;e.baseClass;)r=e.upcast(r),e=e.baseClass;for(;n.baseClass;)o=n.upcast(o),n=n.baseClass;return e===n&&r===o},clone(){if(this.$$.ptr||ut(this),this.$$.preservePointerOnDelete)return this.$$.count.value+=1,this;var t=St(Object.create(Object.getPrototypeOf(this),{$$:{value:st(this.$$)}}));return t.$$.count.value+=1,t.$$.deleteScheduled=!1,t},delete(){this.$$.ptr||ut(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&nt("Object already scheduled for deletion"),lt(this),dt(this.$$),this.$$.preservePointerOnDelete||(this.$$.smartPtr=void 0,this.$$.ptr=void 0)},isDeleted(){return!this.$$.ptr},deleteLater(){return this.$$.ptr||ut(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&nt("Object already scheduled for deletion"),bt.push(this),1===bt.length&&at&&at(yt),this.$$.deleteScheduled=!0,this}}),i.getInheritedInstanceCount=vt,i.getLiveInheritedInstances=mt,i.flushPendingDeletes=yt,i.setDelayFunction=gt,Object.assign(Dt.prototype,{getPointee(t){return this.rawGetPointee&&(t=this.rawGetPointee(t)),t},destructor(t){var e;null===(e=this.rawDestructor)||void 0===e||e.call(this,t)},argPackAdvance:ct,readValueFromPointer:G,fromWireType:Et}),Mt=i.UnboundTypeError=((t,e)=>{var r=Ct(e,(function(t){this.name=e,this.message=t;var r=new Error(t).stack;void 0!==r&&(this.stack=this.toString()+"\n"+r.replace(/^Error(:[^\n]*)?\n/,""))}));return r.prototype=Object.create(t.prototype),r.prototype.constructor=r,r.prototype.toString=function(){return void 0===this.message?this.name:`${this.name}: ${this.message}`},r})(Error,"UnboundTypeError"),Jt.push(0,1,void 0,1,null,1,!0,1,!1,1),i.count_emval_handles=Xt;var Ae={s:t=>{var e=new H(t);return e.get_caught()||(e.set_caught(!0),B--),e.set_rethrown(!1),N.push(e),Be(e.excPtr),e.get_exception_ptr()},u:()=>{Me(0,0);var t=N.pop();Ne(t.excPtr),W=0},b:()=>z([]),g:t=>z([t]),q:(t,e)=>z([t,e]),K:()=>{var t=N.pop();t||k("no exception to throw");var e=t.excPtr;throw t.get_rethrown()||(N.push(t),t.set_rethrown(!0),t.set_caught(!1),B++),W=e},f:(t,e,r)=>{throw new H(t).init(e,r),B++,W=t},Y:()=>B,d:t=>{throw W||(W=t),W},ha:t=>{var e=q[t];delete q[t];var r=e.rawConstructor,n=e.rawDestructor,o=e.fields,i=o.map(t=>t.getterReturnType).concat(o.map(t=>t.setterArgumentType));et([t],i,t=>{var i={};return o.forEach((e,r)=>{var n=e.fieldName,a=t[r],c=e.getter,s=e.getterContext,u=t[r+o.length],f=e.setter,l=e.setterContext;i[n]={read:t=>a.fromWireType(c(s,t)),write:(t,e)=>{var r=[];f(l,t,u.toWireType(r,e)),V(r)}}}),[{name:e.name,fromWireType:t=>{var e={};for(var r in i)e[r]=i[r].read(t);return n(t),e},toWireType:(t,e)=>{for(var o in i)if(!(o in e))throw new TypeError(`Missing field: "${o}"`);var a=r();for(o in i)i[o].write(a,e[o]);return null!==t&&t.push(n,a),a},argPackAdvance:ct,readValueFromPointer:G,destructorFunction:n}]})},U:(t,e,r,n,o)=>{},ba:(t,e,r,n)=>{it(t,{name:e=rt(e),fromWireType:function(t){return!!t},toWireType:function(t,e){return e?r:n},argPackAdvance:ct,readValueFromPointer:function(t){return this.fromWireType(y[t])},destructorFunction:null})},fa:(t,e,r,n,o,i,a,c,s,u,f,l,d)=>{f=rt(f),i=Wt(o,i),c&&(c=Wt(a,c)),u&&(u=Wt(s,u)),d=Wt(l,d);var p=(t=>{if(void 0===t)return"_unknown";var e=(t=t.replace(/[^a-zA-Z0-9_]/g,"$")).charCodeAt(0);return e>=48&&e<=57?`_${t}`:t})(f);Tt(p,(function(){zt(`Cannot construct ${f} due to unbound types`,[n])})),et([t,e,r],n?[n]:[],e=>{var r,o;e=e[0],o=n?(r=e.registeredClass).instancePrototype:jt.prototype;var a=Ct(f,(function(){if(Object.getPrototypeOf(this)!==s)throw new Q("Use 'new' to construct "+f);if(void 0===v.constructor_body)throw new Q(f+" has no accessible constructor");for(var t=arguments.length,e=new Array(t),r=0;r{var a=qt(e,r);o=Wt(n,o),et([],[t],t=>{var r=`constructor ${(t=t[0]).name}`;if(void 0===t.registeredClass.constructor_body&&(t.registeredClass.constructor_body=[]),void 0!==t.registeredClass.constructor_body[e-1])throw new Q(`Cannot register multiple constructors with identical number of parameters (${e-1}) for class '${t.name}'! Overload resolution is currently only performed using the parameter count, not actual type info!`);return t.registeredClass.constructor_body[e-1]=()=>{zt(`Cannot construct ${t.name} due to unbound types`,a)},et([],a,n=>(n.splice(1,0,null),t.registeredClass.constructor_body[e-1]=Vt(r,n,null,o,i),[])),[]})},w:(t,e,r,n,o,i,a,c,s)=>{var u=qt(r,n);e=rt(e),e=Gt(e),i=Wt(o,i),et([],[t],t=>{var n=`${(t=t[0]).name}.${e}`;function o(){zt(`Cannot call ${n} due to unbound types`,u)}e.startsWith("@@")&&(e=Symbol[e.substring(2)]),c&&t.registeredClass.pureVirtualFunctions.push(e);var s=t.registeredClass.instancePrototype,f=s[e];return void 0===f||void 0===f.overloadTable&&f.className!==t.name&&f.argCount===r-2?(o.argCount=r-2,o.className=t.name,s[e]=o):(Pt(s,e,n),s[e].overloadTable[r-2]=o),et([],u,o=>{var c=Vt(n,o,t,i,a);return void 0===s[e].overloadTable?(c.argCount=r-2,s[e]=c):s[e].overloadTable[r-2]=c,[]}),[]})},aa:te,x:(t,e,r,n)=>{function o(){}e=rt(e),o.values={},it(t,{name:e,constructor:o,fromWireType:function(t){return this.constructor.values[t]},toWireType:(t,e)=>e.value,argPackAdvance:ct,readValueFromPointer:ee(e,r,n),destructorFunction:null}),Tt(e,o)},h:(t,e,r)=>{var n=re(t,"enum");e=rt(e);var o=n.constructor,i=Object.create(n.constructor.prototype,{value:{value:r},constructor:{value:Ct(`${n.name}_${e}`,(function(){}))}});o.values[r]=i,o[e]=i},O:(t,e,r)=>{it(t,{name:e=rt(e),fromWireType:t=>t,toWireType:(t,e)=>e,argPackAdvance:ct,readValueFromPointer:oe(e,r),destructorFunction:null})},P:(t,e,r,n,o,i,a)=>{var c=qt(e,r);t=rt(t),t=Gt(t),o=Wt(n,o),Tt(t,(function(){zt(`Cannot call ${t} due to unbound types`,c)}),e-1),et([],c,r=>{var n=[r[0],null].concat(r.slice(1));return Lt(t,Vt(t,n,null,o,i),e-1),[]})},t:(t,e,r,n,o)=>{e=rt(e);var i=t=>t;if(0===n){var a=32-8*r;i=t=>t<>>a}var c=e.includes("unsigned");it(t,{name:e,fromWireType:i,toWireType:c?function(t,e){return this.name,e>>>0}:function(t,e){return this.name,e},argPackAdvance:ct,readValueFromPointer:ie(e,r,0!==n),destructorFunction:null})},o:(t,e,r)=>{var n=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array][e];function o(t){var e=E[t>>2],r=E[t+4>>2];return new n(b.buffer,r,e)}it(t,{name:r=rt(r),fromWireType:o,argPackAdvance:ct,readValueFromPointer:o},{ignoreDuplicateRegistrations:!0})},ga:(t,e)=>{te(t)},N:(t,e)=>{var r="std::string"===(e=rt(e));it(t,{name:e,fromWireType(t){var e,n=E[t>>2],o=t+4;if(r)for(var i=o,a=0;a<=n;++a){var c=o+a;if(a==n||0==y[c]){var s=fe(i,c-i);void 0===e?e=s:(e+="\0",e+=s),i=c+1}}else{var u=new Array(n);for(a=0;a>2]=n,r&&o)((t,e,r)=>{ae(t,y,e,r)})(e,a,n+1);else if(o)for(var c=0;c255&&(ke(a),nt("String has UTF-16 code units that do not fit in 8 bits")),y[a+c]=s}else for(c=0;c{var n,o,i,a;r=rt(r),2===e?(n=de,o=pe,a=he,i=t=>w[t>>1]):4===e&&(n=ve,o=me,a=be,i=t=>E[t>>2]),it(t,{name:r,fromWireType:t=>{for(var r,o=E[t>>2],a=t+4,c=0;c<=o;++c){var s=t+4+c*e;if(c==o||0==i(s)){var u=n(a,s-a);void 0===r?r=u:(r+="\0",r+=u),a=s+e}}return ke(t),r},toWireType:(t,n)=>{"string"!=typeof n&&nt(`Cannot pass non-string to C++ string type ${r}`);var i=a(n),c=De(4+i+e);return E[c>>2]=i/e,o(n,c+4,i+e),null!==t&&t.push(ke,c),c},argPackAdvance:ct,readValueFromPointer:G,destructorFunction(t){ke(t)}})},A:(t,e,r,n,o,i)=>{q[t]={name:rt(e),rawConstructor:Wt(r,n),rawDestructor:Wt(o,i),fields:[]}},ia:(t,e,r,n,o,i,a,c,s,u)=>{q[t].fields.push({fieldName:rt(e),getterReturnType:r,getter:Wt(n,o),getterContext:i,setterArgumentType:a,setter:Wt(c,s),setterContext:u})},ca:(t,e)=>{it(t,{isVoid:!0,name:e=rt(e),argPackAdvance:0,fromWireType:()=>{},toWireType:(t,e)=>{}})},E:(t,e,r,n)=>(t=ye[t])(null,e=Kt.toValue(e),r,n),ka:Qt,la:t=>0===t?Kt.toHandle(we()):(t=(t=>{var e=ge[t];return void 0===e?rt(t):e})(t),Kt.toHandle(we()[t])),M:(t,e,r)=>{var n=((t,e)=>{for(var r=new Array(t),n=0;n>2],"parameter "+n);return r})(t,e),o=n.shift();t--;var i=new Array(t),a=`methodCaller<(${n.map(t=>t.name).join(", ")}) => ${o.name}>`;return(t=>{var e=ye.length;return ye.push(t),e})(Ct(a,(e,a,c,s)=>{for(var u=0,f=0;f{var n=[],o=t.toWireType(n,r);return n.length&&(E[e>>2]=Kt.toHandle(n)),o})(o,c,l)}))},Q:t=>{t>9&&(Jt[t+1]+=1)},R:t=>{var e=Kt.toValue(t);V(e),Qt(t)},da:(t,e)=>{var r=(t=re(t,"_emval_take_value")).readValueFromPointer(e);return Kt.toHandle(r)},B:()=>{k("")},$:(t,e,r)=>y.copyWithin(t,e,e+r),Z:t=>{var e,r,n=y.length,o=2147483648;if((t>>>=0)>o)return!1;for(var i=1;i<=4;i*=2){var a=n*(1+.2/i);a=Math.min(a,t+100663296);var c=Math.min(o,(e=Math.max(t,a))+((r=65536)-e%r)%r);if(Oe(c))return!0}return!1},W:(t,e)=>{var r=0;return Se().forEach((n,o)=>{var i=e+r;E[t+4*o>>2]=i,((t,e)=>{for(var r=0;r{var r=Se();E[t>>2]=r.length;var n=0;return r.forEach(t=>n+=t.length+1),E[e>>2]=n,0},_:t=>52,T:function(t,e,r,n,o){return 70},L:(t,e,r,n)=>{for(var o=0,i=0;i>2],c=E[e+4>>2];e+=8;for(var s=0;s>2]=o,0},F:function(t,e,r,n){var o=Ue();try{return Nt(t)(e,r,n)}catch(t){if(Fe(o),t!==t+0)throw t;Me(1,0)}},D:function(t,e,r,n,o){var i=Ue();try{return Nt(t)(e,r,n,o)}catch(t){if(Fe(i),t!==t+0)throw t;Me(1,0)}},G:function(t,e,r,n){var o=Ue();try{return Nt(t)(e,r,n)}catch(t){if(Fe(o),t!==t+0)throw t;Me(1,0)}},m:function(t){var e=Ue();try{return Nt(t)()}catch(t){if(Fe(e),t!==t+0)throw t;Me(1,0)}},a:function(t,e){var r=Ue();try{return Nt(t)(e)}catch(t){if(Fe(r),t!==t+0)throw t;Me(1,0)}},e:function(t,e,r){var n=Ue();try{return Nt(t)(e,r)}catch(t){if(Fe(n),t!==t+0)throw t;Me(1,0)}},p:function(t,e,r,n){var o=Ue();try{return Nt(t)(e,r,n)}catch(t){if(Fe(o),t!==t+0)throw t;Me(1,0)}},k:function(t,e,r,n,o){var i=Ue();try{return Nt(t)(e,r,n,o)}catch(t){if(Fe(i),t!==t+0)throw t;Me(1,0)}},I:function(t,e,r,n,o,i){var a=Ue();try{return Nt(t)(e,r,n,o,i)}catch(t){if(Fe(a),t!==t+0)throw t;Me(1,0)}},v:function(t,e,r,n,o,i,a){var c=Ue();try{return Nt(t)(e,r,n,o,i,a)}catch(t){if(Fe(c),t!==t+0)throw t;Me(1,0)}},H:function(t,e,r,n,o,i,a,c){var s=Ue();try{return Nt(t)(e,r,n,o,i,a,c)}catch(t){if(Fe(s),t!==t+0)throw t;Me(1,0)}},z:function(t,e,r,n,o,i,a,c,s,u,f,l){var d=Ue();try{return Nt(t)(e,r,n,o,i,a,c,s,u,f,l)}catch(t){if(Fe(d),t!==t+0)throw t;Me(1,0)}},S:function(t,e,r,n,o){var i=Ue();try{return qe(t,e,r,n,o)}catch(t){if(Fe(i),t!==t+0)throw t;Me(1,0)}},l:function(t){var e=Ue();try{Nt(t)()}catch(t){if(Fe(e),t!==t+0)throw t;Me(1,0)}},j:function(t,e){var r=Ue();try{Nt(t)(e)}catch(t){if(Fe(r),t!==t+0)throw t;Me(1,0)}},c:function(t,e,r){var n=Ue();try{Nt(t)(e,r)}catch(t){if(Fe(n),t!==t+0)throw t;Me(1,0)}},n:function(t,e,r,n){var o=Ue();try{Nt(t)(e,r,n)}catch(t){if(Fe(o),t!==t+0)throw t;Me(1,0)}},J:function(t,e,r,n,o){var i=Ue();try{Nt(t)(e,r,n,o)}catch(t){if(Fe(i),t!==t+0)throw t;Me(1,0)}},r:function(t,e,r,n,o,i,a,c){var s=Ue();try{Nt(t)(e,r,n,o,i,a,c)}catch(t){if(Fe(s),t!==t+0)throw t;Me(1,0)}},i:function(t,e,r,n,o,i,a,c,s,u,f){var l=Ue();try{Nt(t)(e,r,n,o,i,a,c,s,u,f)}catch(t){if(Fe(l),t!==t+0)throw t;Me(1,0)}},y:function(t,e,r,n,o,i,a,c,s,u,f,l,d,p,h,v){var m=Ue();try{Nt(t)(e,r,n,o,i,a,c,s,u,f,l,d,p,h,v)}catch(t){if(Fe(m),t!==t+0)throw t;Me(1,0)}},ja:t=>t,V:(t,e,r,n,o)=>Re(t,e,r,n)},$e=function(){var t={a:Ae};function e(t,e){return $e=t.exports,m=$e.ma,P(),It=$e.qa,function(t){_.unshift(t)}($e.na),function(t){var e;if(A--,null===(e=i.monitorRunDependencies)||void 0===e||e.call(i,A),0==A&&$){var r=$;$=null,r()}}(),$e}if(function(t){var e;A++,null===(e=i.monitorRunDependencies)||void 0===e||e.call(i,A)}(),i.instantiateWasm)try{return i.instantiateWasm(t,e)}catch(t){v(`Module.instantiateWasm callback failed with error: ${t}`),o(t)}return function(t,e,r,n){return t||"function"!=typeof WebAssembly.instantiateStreaming||M(e)||"function"!=typeof fetch?U(e,r,n):fetch(e,{credentials:"same-origin"}).then(t=>WebAssembly.instantiateStreaming(t,r).then(n,(function(t){return v(`wasm streaming compile failed: ${t}`),v("falling back to ArrayBuffer instantiation"),U(e,r,n)})))}(p,D,t,(function(t){e(t.instance)})).catch(o),{}}(),ke=i._free=t=>(ke=i._free=$e.oa)(t),De=i._malloc=t=>(De=i._malloc=$e.pa)(t),Ie=t=>(Ie=$e.ra)(t),Me=(t,e)=>(Me=$e.sa)(t,e),Le=t=>(Le=$e.ta)(t),Ue=()=>(Ue=$e.ua)(),Fe=t=>(Fe=$e.va)(t),Ne=t=>(Ne=$e.wa)(t),Be=t=>(Be=$e.xa)(t),We=(t,e,r)=>(We=$e.ya)(t,e,r),He=t=>(He=$e.za)(t);i.dynCall_viijii=(t,e,r,n,o,a,c)=>(i.dynCall_viijii=$e.Aa)(t,e,r,n,o,a,c),i.dynCall_jiji=(t,e,r,n,o)=>(i.dynCall_jiji=$e.Ba)(t,e,r,n,o);var ze,qe=i.dynCall_jiiii=(t,e,r,n,o)=>(qe=i.dynCall_jiiii=$e.Ca)(t,e,r,n,o);function Ve(){function t(){ze||(ze=!0,i.calledRun=!0,!C&&(F(_),r(i),i.onRuntimeInitialized&&i.onRuntimeInitialized(),function(){if(i.postRun)for("function"==typeof i.postRun&&(i.postRun=[i.postRun]);i.postRun.length;)t=i.postRun.shift(),R.unshift(t);var t;F(R)}()))}A>0||(function(){if(i.preRun)for("function"==typeof i.preRun&&(i.preRun=[i.preRun]);i.preRun.length;)t=i.preRun.shift(),T.unshift(t);var t;F(T)}(),A>0)||(i.setStatus?(i.setStatus("Running..."),setTimeout((function(){setTimeout((function(){i.setStatus("")}),1),t()}),1)):t())}if(i.dynCall_iiiiij=(t,e,r,n,o,a,c)=>(i.dynCall_iiiiij=$e.Da)(t,e,r,n,o,a,c),i.dynCall_iiiiijj=(t,e,r,n,o,a,c,s,u)=>(i.dynCall_iiiiijj=$e.Ea)(t,e,r,n,o,a,c,s,u),i.dynCall_iiiiiijj=(t,e,r,n,o,a,c,s,u,f)=>(i.dynCall_iiiiiijj=$e.Fa)(t,e,r,n,o,a,c,s,u,f),$=function t(){ze||Ve(),ze||($=t)},i.preInit)for("function"==typeof i.preInit&&(i.preInit=[i.preInit]);i.preInit.length>0;)i.preInit.pop()();return Ve(),e.ready});async function S(t,e){return async function(t,e,r=m){const n={...m,...r},o=await x(t),{size:i}=e,a=new Uint8Array(await e.arrayBuffer()),c=o._malloc(i);o.HEAPU8.set(a,c);const s=o.readBarcodesFromImage(c,i,b(o,n));o._free(c);const u=[];for(let t=0;tt[0]),T=new Map(C);function _(t){for(const[e,r]of T)if(t===r)return e;return"unknown"}function R(t){try{return t instanceof HTMLImageElement}catch{return!1}}function A(t){try{return t instanceof SVGImageElement}catch{return!1}}function $(t){try{return t instanceof HTMLVideoElement}catch{return!1}}function k(t){try{return t instanceof HTMLCanvasElement}catch{return!1}}function D(t){try{return t instanceof ImageBitmap}catch{return!1}}function I(t){try{return t instanceof OffscreenCanvas}catch{return!1}}function M(t){try{return t instanceof VideoFrame}catch{return!1}}function L(t){try{return t instanceof Blob}catch{return!1}}async function U(t){if(R(t)&&!await async function(t){try{return await t.decode(),!0}catch{return!1}}(t))throw new DOMException("Failed to load or decode HTMLImageElement.","InvalidStateError");if(A(t)&&!await async function(t){var e;try{return await(null==(e=t.decode)?void 0:e.call(t)),!0}catch{return!1}}(t))throw new DOMException("Failed to load or decode SVGImageElement.","InvalidStateError");if(M(t)&&function(t){return null===t.format}(t))throw new DOMException("VideoFrame is closed.","InvalidStateError");if($(t)&&(0===t.readyState||1===t.readyState))throw new DOMException("Invalid element or state.","InvalidStateError");if(D(t)&&function(t){return 0===t.width&&0===t.height}(t))throw new DOMException("The image source is detached.","InvalidStateError");const{width:e,height:r}=function(t){if(R(t))return{width:t.naturalWidth,height:t.naturalHeight};if(A(t))return{width:t.width.baseVal.value,height:t.height.baseVal.value};if($(t))return{width:t.videoWidth,height:t.videoHeight};if(D(t))return{width:t.width,height:t.height};if(M(t))return{width:t.displayWidth,height:t.displayHeight};if(k(t))return{width:t.width,height:t.height};if(I(t))return{width:t.width,height:t.height};throw new TypeError("The provided value is not of type '(Blob or HTMLCanvasElement or HTMLImageElement or HTMLVideoElement or ImageBitmap or ImageData or OffscreenCanvas or SVGImageElement or VideoFrame)'.")}(t);if(0===e||0===r)return null;const n=function(t,e){try{const r=new OffscreenCanvas(t,e);if(r.getContext("2d")instanceof OffscreenCanvasRenderingContext2D)return r;throw void 0}catch{const r=document.createElement("canvas");return r.width=t,r.height=e,r}}(e,r).getContext("2d");n.drawImage(t,0,0);try{return n.getImageData(0,0,e,r)}catch{throw new DOMException("Source would taint origin.","SecurityError")}}async function F(t){if(L(t))return await async function(t){let e;try{if(globalThis.createImageBitmap)e=await createImageBitmap(t);else{if(!globalThis.Image)return t;{e=new Image;let r="";try{r=URL.createObjectURL(t),e.src=r,await e.decode()}finally{URL.revokeObjectURL(r)}}}}catch{throw new DOMException("Failed to load or decode Blob.","InvalidStateError")}return await U(e)}(t);if(function(t){try{return t instanceof ImageData}catch{return!1}}(t)){if(function(t){return 0===t.data.buffer.byteLength}(t))throw new DOMException("The image data has been detached.","InvalidStateError");return t}return k(t)||I(t)?function(t){const{width:e,height:r}=t;if(0===e||0===r)return null;const n=t.getContext("2d");try{return n.getImageData(0,0,e,r)}catch{throw new DOMException("Source would taint origin.","SecurityError")}}(t):await U(t)}function N(t,e){return t instanceof DOMException?new DOMException(`${e}: ${t.message}`,t.name):t instanceof Error?new t.constructor(`${e}: ${t.message}`):new Error(`${e}: ${t}`)}var B;class W extends EventTarget{constructor(t={}){var e;super(),((t,e,r)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,r)})(this,B,void 0);try{const r=null==(e=null==t?void 0:t.formats)?void 0:e.filter(t=>"unknown"!==t);if(0===(null==r?void 0:r.length))throw new TypeError("Hint option provided, but is empty.");for(const t of null!=r?r:[])if(!T.has(t))throw new TypeError(`Failed to read the 'formats' property from 'BarcodeDetectorOptions': The provided value '${t}' is not a valid enum value of type BarcodeFormat.`);((t,e,r,n)=>{o(t,e,"write to private field"),n?n.call(t,r):e.set(t,r)})(this,B,null!=r?r:[]),function(t){return x(E,t)}().then(t=>{this.dispatchEvent(new CustomEvent("load",{detail:t}))}).catch(t=>{this.dispatchEvent(new CustomEvent("error",{detail:t}))})}catch(t){throw N(t,"Failed to construct 'BarcodeDetector'")}}static async getSupportedFormats(){return P.filter(t=>"unknown"!==t)}async detect(t){try{const e=await F(t);if(null===e)return[];let r;try{r=L(e)?await S(e,{tryHarder:!0,formats:i(this,B).map(t=>T.get(t))}):await j(e,{tryHarder:!0,formats:i(this,B).map(t=>T.get(t))})}catch(t){throw console.error(t),new DOMException("Barcode detection service unavailable.","NotSupportedError")}return r.map(t=>{const{topLeft:{x:e,y:r},topRight:{x:n,y:o},bottomLeft:{x:i,y:a},bottomRight:{x:c,y:s}}=t.position,u=Math.min(e,n,i,c),f=Math.min(r,o,a,s),l=Math.max(e,n,i,c),d=Math.max(r,o,a,s);return{boundingBox:new DOMRectReadOnly(u,f,l-u,d-f),rawValue:t.text,format:_(t.format),cornerPoints:[{x:e,y:r},{x:n,y:o},{x:c,y:s},{x:i,y:a}]}})}catch(t){throw N(t,"Failed to execute 'detect' on 'BarcodeDetector'")}}}B=new WeakMap}).call(this,r("4362"),r("c8ba"))},"7b0b":function(t,e,r){"use strict";var n=r("1d80"),o=Object;t.exports=function(t){return o(n(t))}},"7c37":function(t,e,r){"use strict";var n=r("605d");t.exports=function(t){try{if(n)return Function('return require("'+t+'")')()}catch(t){}}},"7c73":function(t,e,r){"use strict";var n,o=r("825a"),i=r("37e8"),a=r("7839"),c=r("d012"),s=r("1be4"),u=r("cc12"),f=r("f772"),l=f("IE_PROTO"),d=function(){},p=function(t){return"